#2F151D#2F151D

#2F151D is a very dark, muted pink. Relative luminance 0.012; OKLCH L 23.6% C 0.044 H 1.3°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#2F151D
RGBrgb(47, 21, 29)
HSLhsl(342, 38%, 13%)
HSVhsv(342, 55%, 18%)
CMYKcmyk(0%, 55.3%, 38.3%, 81.6%)
CIE-LABlab(10.77, 14.38, 0.31)
CIE-LCHlch(10.77, 14.39, 1.24°)
OKLaboklab(23.64% 0.0436 0.001)
OKLCHoklch(23.64% 0.044 1.3)
XYZxyz(1.6623, 1.2295, 1.3119)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F151D #152F27
analogous
#2F152A #2F151D #2F1A15
triadic
#2F151D #1D2F15 #151D2F
tetradic
#2F151D #2A2F15 #152F27 #1A152F
square
#2F151D #2A2F15 #152F27 #1A152F
split-complementary
#2F151D #152F1A #152A2F
monochromatic
#15090D #15090D #2F151D #592837 #843B51

Accessibility & contrast

On white

16.86
#2F151D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2F151D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F151D
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F151D#FFFFFF#000000##FFFFFF
##2F151D1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191A1D
Deuteranopia (green-blind)
#201F1C
Tritanopia (blue-blind)
#331318
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f151d;
/* rgb */ color: rgb(47, 21, 29);
/* oklch */ color: oklch(23.6% 0.044 1.3);
Tailwind
colors: {
  custom: {
    50: '#695358',
    500: '#2f151d',
    950: '#000000',
  },
}
SCSS
$custom: #2f151d;
$custom-light: #695358;
$custom-dark: #000000;
JSON
{
  "hex": "#2f151d",
  "rgb": {
    "r": 47,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 341.538,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23642,
    "c": 0.04362,
    "h": 1.3
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#2F151D
secondary
#3B6558
accent
#CEAA5A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F151D

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

Preview Lab → · Contrast checker → · Palette generator →

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