#2F151F#2F151F

#2F151F is a very dark, muted pink. Relative luminance 0.012; OKLCH L 23.7% C 0.045 H 356.6°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#2F151F
RGBrgb(47, 21, 31)
HSLhsl(337, 38%, 13%)
HSVhsv(337, 55%, 18%)
CMYKcmyk(0%, 55.3%, 34%, 81.6%)
CIE-LABlab(10.85, 14.73, -1.08)
CIE-LCHlch(10.85, 14.77, 355.81°)
OKLaboklab(23.72% 0.0445 -0.0026)
OKLCHoklch(23.72% 0.045 356.6)
XYZxyz(1.6878, 1.2397, 1.4465)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F151F #152F25
analogous
#2F152C #2F151F #2F1815
triadic
#2F151F #1F2F15 #151F2F
tetradic
#2F151F #2C2F15 #152F25 #18152F
square
#2F151F #2C2F15 #152F25 #18152F
split-complementary
#2F151F #152F18 #152C2F
monochromatic
#15090E #15090E #2F151F #59283B #843B57

Accessibility & contrast

On white

16.83
#2F151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F151F
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F151F#FFFFFF#000000##FFFFFF
##2F151F1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181A1F
Deuteranopia (green-blind)
#1F1F1E
Tritanopia (blue-blind)
#331419
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f151f;
/* rgb */ color: rgb(47, 21, 31);
/* oklch */ color: oklch(23.7% 0.045 356.6);
Tailwind
colors: {
  custom: {
    50: '#68535a',
    500: '#2f151f',
    950: '#000000',
  },
}
SCSS
$custom: #2f151f;
$custom-light: #68535a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f151f",
  "rgb": {
    "r": 47,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 336.923,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23723,
    "c": 0.0446,
    "h": 356.6
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#2F151F
secondary
#3B6555
accent
#CEA15A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F151F

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

Preview Lab → · Contrast checker → · Palette generator →

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