#2F0221#2F0221

#2F0221 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.083 H 343.7°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#2F0221
RGBrgb(47, 2, 33)
HSLhsl(319, 92%, 10%)
HSVhsv(319, 96%, 18%)
CMYKcmyk(0%, 95.7%, 29.8%, 81.6%)
CIE-LABlab(6.84, 26.07, -8.64)
CIE-LCHlch(6.84, 27.46, 341.67°)
OKLaboklab(20.75% 0.0798 -0.0234)
OKLCHoklch(20.75% 0.083 343.7)
XYZxyz(1.4686, 0.7577, 1.5075)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0221 #022F10
analogous
#27022F #2F0221 #2F020A
triadic
#2F0221 #212F02 #02212F
tetradic
#2F0221 #2F2702 #022F10 #020A2F
square
#2F0221 #2F2702 #022F10 #020A2F
split-complementary
#2F0221 #0A2F02 #022F27
monochromatic
#1D0115 #1D0115 #2F0221 #6A044A #A40773

Accessibility & contrast

On white

18.24
#2F0221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0221
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0221#FFFFFF#000000##FFFFFF
##2F02211.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061022
Deuteranopia (green-blind)
#151820
Tritanopia (blue-blind)
#330210
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0221;
/* rgb */ color: rgb(47, 2, 33);
/* oklch */ color: oklch(20.8% 0.083 343.7);
Tailwind
colors: {
  custom: {
    50: '#6a475c',
    500: '#2f0221',
    950: '#000000',
  },
}
SCSS
$custom: #2f0221;
$custom-light: #6a475c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0221",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 318.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20751,
    "c": 0.08314,
    "h": 343.7
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#2F0221
secondary
#197435
accent
#FF6B29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #2F0221

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

Preview Lab → · Contrast checker → · Palette generator →

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