#2F0B18#2F0B18

#2F0B18 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.061 H 1.2°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#2F0B18
RGBrgb(47, 11, 24)
HSLhsl(338, 62%, 11%)
HSVhsv(338, 77%, 18%)
CMYKcmyk(0%, 76.6%, 48.9%, 81.6%)
CIE-LABlab(8.22, 19.82, 0.39)
CIE-LCHlch(8.22, 19.83, 1.14°)
OKLaboklab(21.66% 0.0606 0.0013)
OKLCHoklch(21.66% 0.061 1.2)
XYZxyz(1.4569, 0.9098, 0.9629)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B18 #0B2F22
analogous
#2F0B2A #2F0B18 #2F100B
triadic
#2F0B18 #182F0B #0B182F
tetradic
#2F0B18 #2A2F0B #0B2F22 #100B2F
square
#2F0B18 #2A2F0B #0B2F22 #100B2F
split-complementary
#2F0B18 #0B2F10 #0B2A2F
monochromatic
#19060D #19060D #2F0B18 #611731 #92224B

Accessibility & contrast

On white

17.77
#2F0B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0B18
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B18#FFFFFF#000000##FFFFFF
##2F0B181.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121418
Deuteranopia (green-blind)
#1B1B17
Tritanopia (blue-blind)
#340710
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0b18;
/* rgb */ color: rgb(47, 11, 24);
/* oklch */ color: oklch(21.7% 0.061 1.2);
Tailwind
colors: {
  custom: {
    50: '#6a4c54',
    500: '#2f0b18',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b18;
$custom-light: #6a4c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b18",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 24
  },
  "hsl": {
    "h": 338.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21664,
    "c": 0.06058,
    "h": 1.2
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#2F0B18
secondary
#2A6B54
accent
#E5AA43
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0B18

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

Preview Lab → · Contrast checker → · Palette generator →

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