#2F0217#2F0217

#2F0217 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.077 H 357.0°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#2F0217
RGBrgb(47, 2, 23)
HSLhsl(332, 92%, 10%)
HSVhsv(332, 96%, 18%)
CMYKcmyk(0%, 95.7%, 51.1%, 81.6%)
CIE-LABlab(6.41, 24.45, -1.48)
CIE-LCHlch(6.41, 24.50, 356.53°)
OKLaboklab(20.24% 0.0769 -0.004)
OKLCHoklch(20.24% 0.077 357)
XYZxyz(1.3488, 0.7098, 0.8764)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0217 #022F1A
analogous
#2F022E #2F0217 #2F0302
triadic
#2F0217 #172F02 #02172F
tetradic
#2F0217 #2E2F02 #022F1A #03022F
square
#2F0217 #2E2F02 #022F1A #03022F
split-complementary
#2F0217 #022F03 #022E2F
monochromatic
#1D010E #1D010E #2F0217 #6A0434 #A40750

Accessibility & contrast

On white

18.39
#2F0217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0217
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0217#FFFFFF#000000##FFFFFF
##2F02171.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F18
Deuteranopia (green-blind)
#181716
Tritanopia (blue-blind)
#34000A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0217;
/* rgb */ color: rgb(47, 2, 23);
/* oklch */ color: oklch(20.2% 0.077 357.0);
Tailwind
colors: {
  custom: {
    50: '#6b4753',
    500: '#2f0217',
    950: '#000000',
  },
}
SCSS
$custom: #2f0217;
$custom-light: #6b4753;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0217",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 332,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20236,
    "c": 0.07703,
    "h": 357
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#2F0217
secondary
#197449
accent
#FF9B29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2F0217

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

Preview Lab → · Contrast checker → · Palette generator →

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