#2F021A#2F021A

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

Color values

HEX#2F021A
RGBrgb(47, 2, 26)
HSLhsl(328, 92%, 10%)
HSVhsv(328, 96%, 18%)
CMYKcmyk(0%, 95.7%, 44.7%, 81.6%)
CIE-LABlab(6.53, 24.90, -3.65)
CIE-LCHlch(6.53, 25.16, 351.66°)
OKLaboklab(20.38% 0.078 -0.0098)
OKLCHoklch(20.38% 0.079 352.8)
XYZxyz(1.3805, 0.7225, 1.0438)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F021A #022F17
analogous
#2E022F #2F021A #2F0203
triadic
#2F021A #1A2F02 #021A2F
tetradic
#2F021A #2F2E02 #022F17 #02032F
square
#2F021A #2F2E02 #022F17 #02032F
split-complementary
#2F021A #032F02 #022F2E
monochromatic
#1D0110 #1D0110 #2F021A #6A043A #A4075B

Accessibility & contrast

On white

18.35
#2F021A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2F021A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F021A
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F021A#FFFFFF#000000##FFFFFF
##2F021A1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090F1B
Deuteranopia (green-blind)
#171819
Tritanopia (blue-blind)
#34000C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f021a;
/* rgb */ color: rgb(47, 2, 26);
/* oklch */ color: oklch(20.4% 0.079 352.8);
Tailwind
colors: {
  custom: {
    50: '#6a4756',
    500: '#2f021a',
    950: '#000000',
  },
}
SCSS
$custom: #2f021a;
$custom-light: #6a4756;
$custom-dark: #000000;
JSON
{
  "hex": "#2f021a",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 26
  },
  "hsl": {
    "h": 328,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20375,
    "c": 0.07861,
    "h": 352.8
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#2F021A
secondary
#197443
accent
#FF8D29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F021A

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

Preview Lab → · Contrast checker → · Palette generator →

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