#2F0224#2F0224

#2F0224 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.085 H 340.0°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#2F0224
RGBrgb(47, 2, 36)
HSLhsl(315, 92%, 10%)
HSVhsv(315, 96%, 18%)
CMYKcmyk(0%, 95.7%, 23.4%, 81.6%)
CIE-LABlab(7.00, 26.61, -10.70)
CIE-LCHlch(7.00, 28.68, 338.09°)
OKLaboklab(20.93% 0.0802 -0.0292)
OKLCHoklch(20.93% 0.085 340)
XYZxyz(1.5125, 0.7753, 1.7387)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0224 #022F0D
analogous
#24022F #2F0224 #2F020D
triadic
#2F0224 #242F02 #02242F
tetradic
#2F0224 #2F2402 #022F0D #020D2F
square
#2F0224 #2F2402 #022F0D #020D2F
split-complementary
#2F0224 #0D2F02 #022F24
monochromatic
#1D0116 #1D0116 #2F0224 #6A0451 #A4077E

Accessibility & contrast

On white

18.18
#2F0224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F0224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0224
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0224#FFFFFF#000000##FFFFFF
##2F02241.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041125
Deuteranopia (green-blind)
#141823
Tritanopia (blue-blind)
#320312
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0224;
/* rgb */ color: rgb(47, 2, 36);
/* oklch */ color: oklch(20.9% 0.085 340.0);
Tailwind
colors: {
  custom: {
    50: '#6a485e',
    500: '#2f0224',
    950: '#000000',
  },
}
SCSS
$custom: #2f0224;
$custom-light: #6a485e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0224",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 36
  },
  "hsl": {
    "h": 314.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20933,
    "c": 0.08538,
    "h": 340
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#2F0224
secondary
#19742F
accent
#FF5D29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #2F0224

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

Preview Lab → · Contrast checker → · Palette generator →

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