#2F021D#2F021D

#2F021D is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.5% C 0.080 H 348.8°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#2F021D
RGBrgb(47, 2, 29)
HSLhsl(324, 92%, 10%)
HSVhsv(324, 96%, 18%)
CMYKcmyk(0%, 95.7%, 38.3%, 81.6%)
CIE-LABlab(6.65, 25.38, -5.82)
CIE-LCHlch(6.65, 26.04, 347.10°)
OKLaboklab(20.53% 0.0789 -0.0156)
OKLCHoklch(20.53% 0.08 348.8)
XYZxyz(1.4159, 0.7366, 1.2298)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F021D #022F14
analogous
#2B022F #2F021D #2F0207
triadic
#2F021D #1D2F02 #021D2F
tetradic
#2F021D #2F2B02 #022F14 #02072F
square
#2F021D #2F2B02 #022F14 #02072F
split-complementary
#2F021D #072F02 #022F2B
monochromatic
#1D0112 #1D0112 #2F021D #6A0441 #A40765

Accessibility & contrast

On white

18.31
#2F021D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F021D
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F021D#FFFFFF#000000##FFFFFF
##2F021D1.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080F1E
Deuteranopia (green-blind)
#16181C
Tritanopia (blue-blind)
#33000E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f021d;
/* rgb */ color: rgb(47, 2, 29);
/* oklch */ color: oklch(20.5% 0.080 348.8);
Tailwind
colors: {
  custom: {
    50: '#6a4758',
    500: '#2f021d',
    950: '#000000',
  },
}
SCSS
$custom: #2f021d;
$custom-light: #6a4758;
$custom-dark: #000000;
JSON
{
  "hex": "#2f021d",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 29
  },
  "hsl": {
    "h": 324,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20528,
    "c": 0.08042,
    "h": 348.8
  },
  "luminance": 0.00736
}

Semantic roles & 50–950 ramp

primary
#2F021D
secondary
#19743D
accent
#FF7E29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F021D

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

Preview Lab → · Contrast checker → · Palette generator →

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