#5F152C#5F152C

#5F152C is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.107 H 6.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#5F152C
RGBrgb(95, 21, 44)
HSLhsl(341, 64%, 23%)
HSVhsv(341, 78%, 37%)
CMYKcmyk(0%, 77.9%, 53.7%, 62.7%)
CIE-LABlab(20.64, 34.78, 4.82)
CIE-LCHlch(20.64, 35.11, 7.90°)
OKLaboklab(32.97% 0.1061 0.0126)
OKLCHoklch(32.97% 0.107 6.8)
XYZxyz(5.4426, 3.1518, 2.7041)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F152C #155F48
analogous
#5F1551 #5F152C #5F2315
triadic
#5F152C #2C5F15 #152C5F
tetradic
#5F152C #515F15 #155F48 #23155F
square
#5F152C #515F15 #155F48 #23155F
split-complementary
#5F152C #155F23 #15515F
monochromatic
#19060C #2D0A15 #5F152C #912043 #C32B5A

Accessibility & contrast

On white

12.88
#5F152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F152C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F152C
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F152C#FFFFFF#000000##FFFFFF
##5F152C1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282C
Deuteranopia (green-blind)
#3A372A
Tritanopia (blue-blind)
#68061F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f152c;
/* rgb */ color: rgb(95, 21, 44);
/* oklch */ color: oklch(33.0% 0.107 6.8);
Tailwind
colors: {
  custom: {
    50: '#915964',
    500: '#5f152c',
    950: '#000000',
  },
}
SCSS
$custom: #5f152c;
$custom-light: #915964;
$custom-dark: #000000;
JSON
{
  "hex": "#5f152c",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 341.351,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32967,
    "c": 0.10681,
    "h": 6.8
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#5F152C
secondary
#3A9679
accent
#E7B341
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F152C

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

Preview Lab → · Contrast checker → · Palette generator →

#5F152C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva