#30031E#30031E

#30031E is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.080 H 348.7°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#30031E
RGBrgb(48, 3, 30)
HSLhsl(324, 88%, 10%)
HSVhsv(324, 94%, 19%)
CMYKcmyk(0%, 93.8%, 37.5%, 81.2%)
CIE-LABlab(7.11, 25.40, -5.88)
CIE-LCHlch(7.11, 26.07, 346.96°)
OKLaboklab(20.95% 0.0782 -0.0156)
OKLCHoklch(20.95% 0.08 348.7)
XYZxyz(1.4859, 0.7874, 1.3018)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30031E #033015
analogous
#2B0330 #30031E #300308
triadic
#30031E #1E3003 #031E30
tetradic
#30031E #302B03 #033015 #030830
square
#30031E #302B03 #033015 #030830
split-complementary
#30031E #083003 #03302B
monochromatic
#1D0212 #1D0212 #30031E #6A0742 #A30A66

Accessibility & contrast

On white

18.14
#30031E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#30031E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30031E
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30031E#FFFFFF#000000##FFFFFF
##30031E1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09101F
Deuteranopia (green-blind)
#17191D
Tritanopia (blue-blind)
#34010F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #30031e;
/* rgb */ color: rgb(48, 3, 30);
/* oklch */ color: oklch(21.0% 0.080 348.7);
Tailwind
colors: {
  custom: {
    50: '#6b4859',
    500: '#30031e',
    950: '#000000',
  },
}
SCSS
$custom: #30031e;
$custom-light: #6b4859;
$custom-dark: #000000;
JSON
{
  "hex": "#30031e",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 30
  },
  "hsl": {
    "h": 324,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.20954,
    "c": 0.07974,
    "h": 348.7
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#30031E
secondary
#1B733F
accent
#FE7F29
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #30031E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#30031E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva