#2F0223#2F0223

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

Color values

HEX#2F0223
RGBrgb(47, 2, 35)
HSLhsl(316, 92%, 10%)
HSVhsv(316, 96%, 18%)
CMYKcmyk(0%, 95.7%, 25.5%, 81.6%)
CIE-LABlab(6.95, 26.43, -10.02)
CIE-LCHlch(6.95, 28.26, 339.24°)
OKLaboklab(20.87% 0.0801 -0.0273)
OKLCHoklch(20.87% 0.085 341.2)
XYZxyz(1.4974, 0.7693, 1.6594)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0223 #022F0E
analogous
#25022F #2F0223 #2F020D
triadic
#2F0223 #232F02 #02232F
tetradic
#2F0223 #2F2502 #022F0E #020D2F
square
#2F0223 #2F2502 #022F0E #020D2F
split-complementary
#2F0223 #0D2F02 #022F25
monochromatic
#1D0116 #1D0116 #2F0223 #6A044F #A4077A

Accessibility & contrast

On white

18.20
#2F0223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0223
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0223#FFFFFF#000000##FFFFFF
##2F02231.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051124
Deuteranopia (green-blind)
#141822
Tritanopia (blue-blind)
#330311
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0223;
/* rgb */ color: rgb(47, 2, 35);
/* oklch */ color: oklch(20.9% 0.085 341.2);
Tailwind
colors: {
  custom: {
    50: '#6a485e',
    500: '#2f0223',
    950: '#000000',
  },
}
SCSS
$custom: #2f0223;
$custom-light: #6a485e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0223",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 316,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20871,
    "c": 0.08462,
    "h": 341.2
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#2F0223
secondary
#197431
accent
#FF6229
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #2F0223

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

Preview Lab → · Contrast checker → · Palette generator →

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