#2F020F#2F020F

#2F020F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.074 H 8.5°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#2F020F
RGBrgb(47, 2, 15)
HSLhsl(343, 92%, 10%)
HSVhsv(343, 96%, 18%)
CMYKcmyk(0%, 95.7%, 68.1%, 81.6%)
CIE-LABlab(6.16, 23.44, 3.24)
CIE-LCHlch(6.16, 23.66, 7.88°)
OKLaboklab(19.93% 0.0734 0.011)
OKLCHoklch(19.93% 0.074 8.5)
XYZxyz(1.2804, 0.6824, 0.5162)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F020F #022F22
analogous
#2F0226 #2F020F #2F0C02
triadic
#2F020F #0F2F02 #020F2F
tetradic
#2F020F #262F02 #022F22 #0C022F
square
#2F020F #262F02 #022F22 #0C022F
split-complementary
#2F020F #022F0C #02262F
monochromatic
#1D0109 #1D0109 #2F020F #6A0422 #A40734

Accessibility & contrast

On white

18.48
#2F020F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F020F
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F020F#FFFFFF#000000##FFFFFF
##2F020F1.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E0F
Deuteranopia (green-blind)
#19170E
Tritanopia (blue-blind)
#340007
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f020f;
/* rgb */ color: rgb(47, 2, 15);
/* oklch */ color: oklch(19.9% 0.074 8.5);
Tailwind
colors: {
  custom: {
    50: '#6b474e',
    500: '#2f020f',
    950: '#000000',
  },
}
SCSS
$custom: #2f020f;
$custom-light: #6b474e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f020f",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 15
  },
  "hsl": {
    "h": 342.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19929,
    "c": 0.07426,
    "h": 8.5
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#2F020F
secondary
#19745A
accent
#FFC129
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F020F

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

Preview Lab → · Contrast checker → · Palette generator →

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