#2F021C#2F021C

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

Color values

HEX#2F021C
RGBrgb(47, 2, 28)
HSLhsl(325, 92%, 10%)
HSVhsv(325, 96%, 18%)
CMYKcmyk(0%, 95.7%, 40.4%, 81.6%)
CIE-LABlab(6.61, 25.21, -5.10)
CIE-LCHlch(6.61, 25.72, 348.57°)
OKLaboklab(20.47% 0.0786 -0.0137)
OKLCHoklch(20.47% 0.08 350.1)
XYZxyz(1.4037, 0.7318, 1.1657)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F021C #022F15
analogous
#2C022F #2F021C #2F0206
triadic
#2F021C #1C2F02 #021C2F
tetradic
#2F021C #2F2C02 #022F15 #02062F
square
#2F021C #2F2C02 #022F15 #02062F
split-complementary
#2F021C #062F02 #022F2C
monochromatic
#1D0111 #1D0111 #2F021C #6A043F #A40762

Accessibility & contrast

On white

18.32
#2F021C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F021C
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F021C#FFFFFF#000000##FFFFFF
##2F021C1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090F1D
Deuteranopia (green-blind)
#17181B
Tritanopia (blue-blind)
#33000D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f021c;
/* rgb */ color: rgb(47, 2, 28);
/* oklch */ color: oklch(20.5% 0.080 350.1);
Tailwind
colors: {
  custom: {
    50: '#6a4758',
    500: '#2f021c',
    950: '#000000',
  },
}
SCSS
$custom: #2f021c;
$custom-light: #6a4758;
$custom-dark: #000000;
JSON
{
  "hex": "#2f021c",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 28
  },
  "hsl": {
    "h": 325.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20475,
    "c": 0.07979,
    "h": 350.1
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#2F021C
secondary
#19743F
accent
#FF8329
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070003
muted
#7A7778

Preview Lab

Preview with #2F021C

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

Preview Lab → · Contrast checker → · Palette generator →

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