#2F0212#2F0212

#2F0212 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.075 H 4.2°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#2F0212
RGBrgb(47, 2, 18)
HSLhsl(339, 92%, 10%)
HSVhsv(339, 96%, 18%)
CMYKcmyk(0%, 95.7%, 61.7%, 81.6%)
CIE-LABlab(6.25, 23.78, 1.66)
CIE-LCHlch(6.25, 23.84, 3.99°)
OKLaboklab(20.03% 0.0749 0.0055)
OKLCHoklch(20.03% 0.075 4.2)
XYZxyz(1.3033, 0.6916, 0.6370)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0212 #022F1F
analogous
#2F0229 #2F0212 #2F0902
triadic
#2F0212 #122F02 #02122F
tetradic
#2F0212 #292F02 #022F1F #09022F
square
#2F0212 #292F02 #022F1F #09022F
split-complementary
#2F0212 #022F09 #02292F
monochromatic
#1D010B #1D010B #2F0212 #6A0428 #A4073F

Accessibility & contrast

On white

18.45
#2F0212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0212
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0212#FFFFFF#000000##FFFFFF
##2F02121.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0E12
Deuteranopia (green-blind)
#191711
Tritanopia (blue-blind)
#340008
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0212;
/* rgb */ color: rgb(47, 2, 18);
/* oklch */ color: oklch(20.0% 0.075 4.2);
Tailwind
colors: {
  custom: {
    50: '#6b4750',
    500: '#2f0212',
    950: '#000000',
  },
}
SCSS
$custom: #2f0212;
$custom-light: #6b4750;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0212",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 338.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20033,
    "c": 0.07505,
    "h": 4.2
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#2F0212
secondary
#197453
accent
#FFB329
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2F0212

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

Preview Lab → · Contrast checker → · Palette generator →

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