#2F021E#2F021E

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

Color values

HEX#2F021E
RGBrgb(47, 2, 30)
HSLhsl(323, 92%, 10%)
HSVhsv(323, 96%, 18%)
CMYKcmyk(0%, 95.7%, 36.2%, 81.6%)
CIE-LABlab(6.70, 25.54, -6.53)
CIE-LCHlch(6.70, 26.37, 345.67°)
OKLaboklab(20.58% 0.0791 -0.0176)
OKLCHoklch(20.58% 0.081 347.5)
XYZxyz(1.4284, 0.7417, 1.2960)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F021E #022F13
analogous
#2A022F #2F021E #2F0207
triadic
#2F021E #1E2F02 #021E2F
tetradic
#2F021E #2F2A02 #022F13 #02072F
square
#2F021E #2F2A02 #022F13 #02072F
split-complementary
#2F021E #072F02 #022F2A
monochromatic
#1D0113 #1D0113 #2F021E #6A0443 #A40769

Accessibility & contrast

On white

18.29
#2F021E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F021E
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F021E#FFFFFF#000000##FFFFFF
##2F021E1.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f021e;
/* rgb */ color: rgb(47, 2, 30);
/* oklch */ color: oklch(20.6% 0.081 347.5);
Tailwind
colors: {
  custom: {
    50: '#6a4759',
    500: '#2f021e',
    950: '#000000',
  },
}
SCSS
$custom: #2f021e;
$custom-light: #6a4759;
$custom-dark: #000000;
JSON
{
  "hex": "#2f021e",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 30
  },
  "hsl": {
    "h": 322.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20581,
    "c": 0.08106,
    "h": 347.5
  },
  "luminance": 0.00741
}

Semantic roles & 50–950 ramp

primary
#2F021E
secondary
#19743B
accent
#FF7A29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F021E

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

Preview Lab → · Contrast checker → · Palette generator →

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