#2F0216#2F0216

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

Color values

HEX#2F0216
RGBrgb(47, 2, 22)
HSLhsl(333, 92%, 10%)
HSVhsv(333, 96%, 18%)
CMYKcmyk(0%, 95.7%, 53.2%, 81.6%)
CIE-LABlab(6.38, 24.31, -0.80)
CIE-LCHlch(6.38, 24.32, 358.11°)
OKLaboklab(20.19% 0.0766 -0.0021)
OKLCHoklch(20.19% 0.077 358.4)
XYZxyz(1.3389, 0.7059, 0.8246)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0216 #022F1B
analogous
#2F022D #2F0216 #2F0402
triadic
#2F0216 #162F02 #02162F
tetradic
#2F0216 #2D2F02 #022F1B #04022F
square
#2F0216 #2D2F02 #022F1B #04022F
split-complementary
#2F0216 #022F04 #022D2F
monochromatic
#1D010E #1D010E #2F0216 #6A0431 #A4074D

Accessibility & contrast

On white

18.40
#2F0216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0216
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0216#FFFFFF#000000##FFFFFF
##2F02161.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0216;
/* rgb */ color: rgb(47, 2, 22);
/* oklch */ color: oklch(20.2% 0.077 358.4);
Tailwind
colors: {
  custom: {
    50: '#6b4752',
    500: '#2f0216',
    950: '#000000',
  },
}
SCSS
$custom: #2f0216;
$custom-light: #6b4752;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0216",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 22
  },
  "hsl": {
    "h": 333.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20192,
    "c": 0.07658,
    "h": 358.4
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#2F0216
secondary
#19744B
accent
#FFA029
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2F0216

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

Preview Lab → · Contrast checker → · Palette generator →

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