#5F153E#5F153E

#5F153E is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.114 H 351.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#5F153E
RGBrgb(95, 21, 62)
HSLhsl(327, 64%, 23%)
HSVhsv(327, 78%, 37%)
CMYKcmyk(0%, 77.9%, 34.7%, 62.7%)
CIE-LABlab(21.27, 36.83, -6.82)
CIE-LCHlch(21.27, 37.46, 349.51°)
OKLaboklab(33.64% 0.1126 -0.0177)
OKLCHoklch(33.64% 0.114 351.1)
XYZxyz(5.8573, 3.3177, 4.8884)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F153E #155F36
analogous
#5B155F #5F153E #5F1519
triadic
#5F153E #3E5F15 #153E5F
tetradic
#5F153E #5F5B15 #155F36 #15195F
square
#5F153E #5F5B15 #155F36 #15195F
split-complementary
#5F153E #195F15 #155F5B
monochromatic
#190610 #2D0A1D #5F153E #91205F #C32B7F

Accessibility & contrast

On white

12.62
#5F153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F153E
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F153E#FFFFFF#000000##FFFFFF
##5F153E1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B3F
Deuteranopia (green-blind)
#36383C
Tritanopia (blue-blind)
#671027
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f153e;
/* rgb */ color: rgb(95, 21, 62);
/* oklch */ color: oklch(33.6% 0.114 351.1);
Tailwind
colors: {
  custom: {
    50: '#905a73',
    500: '#5f153e',
    950: '#000000',
  },
}
SCSS
$custom: #5f153e;
$custom-light: #905a73;
$custom-dark: #000000;
JSON
{
  "hex": "#5f153e",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 326.757,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33639,
    "c": 0.11401,
    "h": 351.1
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#5F153E
secondary
#3A9663
accent
#E78B41
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F153E

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

Preview Lab → · Contrast checker → · Palette generator →

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