#2F021F#2F021F

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

Color values

HEX#2F021F
RGBrgb(47, 2, 31)
HSLhsl(321, 92%, 10%)
HSVhsv(321, 96%, 18%)
CMYKcmyk(0%, 95.7%, 34%, 81.6%)
CIE-LABlab(6.75, 25.72, -7.23)
CIE-LCHlch(6.75, 26.71, 344.29°)
OKLaboklab(20.64% 0.0794 -0.0195)
OKLCHoklch(20.64% 0.082 346.2)
XYZxyz(1.4414, 0.7469, 1.3643)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F021F #022F12
analogous
#29022F #2F021F #2F0209
triadic
#2F021F #1F2F02 #021F2F
tetradic
#2F021F #2F2902 #022F12 #02092F
square
#2F021F #2F2902 #022F12 #02092F
split-complementary
#2F021F #092F02 #022F29
monochromatic
#1D0113 #1D0113 #2F021F #6A0446 #A4076C

Accessibility & contrast

On white

18.27
#2F021F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F021F
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F021F#FFFFFF#000000##FFFFFF
##2F021F1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071020
Deuteranopia (green-blind)
#16181E
Tritanopia (blue-blind)
#33010F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f021f;
/* rgb */ color: rgb(47, 2, 31);
/* oklch */ color: oklch(20.6% 0.082 346.2);
Tailwind
colors: {
  custom: {
    50: '#6a475a',
    500: '#2f021f',
    950: '#000000',
  },
}
SCSS
$custom: #2f021f;
$custom-light: #6a475a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f021f",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 31
  },
  "hsl": {
    "h": 321.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20636,
    "c": 0.08174,
    "h": 346.2
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#2F021F
secondary
#197439
accent
#FF7529
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F021F

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

Preview Lab → · Contrast checker → · Palette generator →

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