#2F0C18#2F0C18

#2F0C18 is a very dark, muted pink. Relative luminance 0.009; OKLCH L 21.8% C 0.059 H 2.0°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#2F0C18
RGBrgb(47, 12, 24)
HSLhsl(339, 59%, 12%)
HSVhsv(339, 74%, 18%)
CMYKcmyk(0%, 74.5%, 48.9%, 81.6%)
CIE-LABlab(8.42, 19.26, 0.70)
CIE-LCHlch(8.42, 19.28, 2.07°)
OKLaboklab(21.82% 0.0588 0.002)
OKLCHoklch(21.82% 0.059 2)
XYZxyz(1.4687, 0.9334, 0.9668)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C18 #0C2F23
analogous
#2F0C2A #2F0C18 #2F120C
triadic
#2F0C18 #182F0C #0C182F
tetradic
#2F0C18 #2A2F0C #0C2F23 #120C2F
square
#2F0C18 #2A2F0C #0C2F23 #120C2F
split-complementary
#2F0C18 #0C2F12 #0C2A2F
monochromatic
#18060C #18060C #2F0C18 #601831 #91254A

Accessibility & contrast

On white

17.70
#2F0C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F0C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0C18
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C18#FFFFFF#000000##FFFFFF
##2F0C181.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131418
Deuteranopia (green-blind)
#1C1B17
Tritanopia (blue-blind)
#340811
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0c18;
/* rgb */ color: rgb(47, 12, 24);
/* oklch */ color: oklch(21.8% 0.059 2.0);
Tailwind
colors: {
  custom: {
    50: '#6a4d54',
    500: '#2f0c18',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c18;
$custom-light: #6a4d54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c18",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 24
  },
  "hsl": {
    "h": 339.429,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21818,
    "c": 0.05884,
    "h": 2
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#2F0C18
secondary
#2C6B55
accent
#E3AD45
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0C18

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

Preview Lab → · Contrast checker → · Palette generator →

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