#2F021B#2F021B

#2F021B is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.079 H 351.5°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#2F021B
RGBrgb(47, 2, 27)
HSLhsl(327, 92%, 10%)
HSVhsv(327, 96%, 18%)
CMYKcmyk(0%, 95.7%, 42.6%, 81.6%)
CIE-LABlab(6.57, 25.05, -4.37)
CIE-LCHlch(6.57, 25.43, 350.10°)
OKLaboklab(20.42% 0.0783 -0.0118)
OKLCHoklch(20.42% 0.079 351.5)
XYZxyz(1.3919, 0.7271, 1.1037)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F021B #022F16
analogous
#2D022F #2F021B #2F0204
triadic
#2F021B #1B2F02 #021B2F
tetradic
#2F021B #2F2D02 #022F16 #02042F
square
#2F021B #2F2D02 #022F16 #02042F
split-complementary
#2F021B #042F02 #022F2D
monochromatic
#1D0111 #1D0111 #2F021B #6A043D #A4075E

Accessibility & contrast

On white

18.33
#2F021B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F021B
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F021B#FFFFFF#000000##FFFFFF
##2F021B1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090F1C
Deuteranopia (green-blind)
#17181A
Tritanopia (blue-blind)
#33000D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f021b;
/* rgb */ color: rgb(47, 2, 27);
/* oklch */ color: oklch(20.4% 0.079 351.5);
Tailwind
colors: {
  custom: {
    50: '#6a4757',
    500: '#2f021b',
    950: '#000000',
  },
}
SCSS
$custom: #2f021b;
$custom-light: #6a4757;
$custom-dark: #000000;
JSON
{
  "hex": "#2f021b",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 27
  },
  "hsl": {
    "h": 326.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20424,
    "c": 0.07919,
    "h": 351.5
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#2F021B
secondary
#197441
accent
#FF8829
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F021B

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

Preview Lab → · Contrast checker → · Palette generator →

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