#2F152A#2F152A

#2F152A is a very dark, muted pink. Relative luminance 0.013; OKLCH L 24.2% C 0.054 H 334.7°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#2F152A
RGBrgb(47, 21, 42)
HSLhsl(312, 38%, 13%)
HSVhsv(312, 55%, 18%)
CMYKcmyk(0%, 55.3%, 10.6%, 81.6%)
CIE-LABlab(11.33, 16.90, -8.52)
CIE-LCHlch(11.33, 18.92, 333.24°)
OKLaboklab(24.25% 0.0487 -0.023)
OKLCHoklch(24.25% 0.054 334.7)
XYZxyz(1.8584, 1.3079, 2.3446)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F152A #152F1A
analogous
#27152F #2F152A #2F151D
triadic
#2F152A #2A2F15 #152A2F
tetradic
#2F152A #2F2715 #152F1A #151D2F
square
#2F152A #2F2715 #152F1A #151D2F
split-complementary
#2F152A #1D2F15 #152F27
monochromatic
#150913 #150913 #2F152A #592850 #843B76

Accessibility & contrast

On white

16.65
#2F152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F152A
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F152A#FFFFFF#000000##FFFFFF
##2F152A1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2B
Deuteranopia (green-blind)
#1C2029
Tritanopia (blue-blind)
#31161D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f152a;
/* rgb */ color: rgb(47, 21, 42);
/* oklch */ color: oklch(24.2% 0.054 334.7);
Tailwind
colors: {
  custom: {
    50: '#685363',
    500: '#2f152a',
    950: '#000000',
  },
}
SCSS
$custom: #2f152a;
$custom-light: #685363;
$custom-dark: #000000;
JSON
{
  "hex": "#2f152a",
  "rgb": {
    "r": 47,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 311.538,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24245,
    "c": 0.05384,
    "h": 334.7
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#2F152A
secondary
#3B6543
accent
#CE705A
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F152A

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

Preview Lab → · Contrast checker → · Palette generator →

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