#2F031B#2F031B

#2F031B is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.6% C 0.077 H 351.9°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#2F031B
RGBrgb(47, 3, 27)
HSLhsl(327, 88%, 10%)
HSVhsv(327, 94%, 18%)
CMYKcmyk(0%, 93.6%, 42.6%, 81.6%)
CIE-LABlab(6.76, 24.53, -4.08)
CIE-LCHlch(6.76, 24.86, 350.55°)
OKLaboklab(20.59% 0.0763 -0.0109)
OKLCHoklch(20.59% 0.077 351.9)
XYZxyz(1.4028, 0.7488, 1.1074)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F031B #032F17
analogous
#2D032F #2F031B #2F0305
triadic
#2F031B #1B2F03 #031B2F
tetradic
#2F031B #2F2D03 #032F17 #03052F
square
#2F031B #2F2D03 #032F17 #03052F
split-complementary
#2F031B #052F03 #032F2D
monochromatic
#1D0211 #1D0211 #2F031B #69073C #A20A5D

Accessibility & contrast

On white

18.26
#2F031B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2F031B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F031B
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F031B#FFFFFF#000000##FFFFFF
##2F031B1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A101C
Deuteranopia (green-blind)
#17181A
Tritanopia (blue-blind)
#33010D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f031b;
/* rgb */ color: rgb(47, 3, 27);
/* oklch */ color: oklch(20.6% 0.077 351.9);
Tailwind
colors: {
  custom: {
    50: '#6a4857',
    500: '#2f031b',
    950: '#000000',
  },
}
SCSS
$custom: #2f031b;
$custom-light: #6a4857;
$custom-dark: #000000;
JSON
{
  "hex": "#2f031b",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 27
  },
  "hsl": {
    "h": 327.273,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20585,
    "c": 0.07705,
    "h": 351.9
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#2F031B
secondary
#1B7343
accent
#FE8A2A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F031B

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

Preview Lab → · Contrast checker → · Palette generator →

#2F031B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva