#5F153F#5F153F

#5F153F is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.7% C 0.115 H 350.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#5F153F
RGBrgb(95, 21, 63)
HSLhsl(326, 64%, 23%)
HSVhsv(326, 78%, 37%)
CMYKcmyk(0%, 77.9%, 33.7%, 62.7%)
CIE-LABlab(21.32, 36.96, -7.45)
CIE-LCHlch(21.32, 37.71, 348.61°)
OKLaboklab(33.68% 0.1129 -0.0194)
OKLCHoklch(33.68% 0.115 350.3)
XYZxyz(5.8850, 3.3288, 5.0343)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F153F #155F35
analogous
#5A155F #5F153F #5F151A
triadic
#5F153F #3F5F15 #153F5F
tetradic
#5F153F #5F5A15 #155F35 #151A5F
square
#5F153F #5F5A15 #155F35 #151A5F
split-complementary
#5F153F #1A5F15 #155F5A
monochromatic
#190611 #2D0A1E #5F153F #912060 #C32B81

Accessibility & contrast

On white

12.61
#5F153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F153F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F153F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F153F#FFFFFF#000000##FFFFFF
##5F153F1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#36383D
Tritanopia (blue-blind)
#661028
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f153f;
/* rgb */ color: rgb(95, 21, 63);
/* oklch */ color: oklch(33.7% 0.115 350.3);
Tailwind
colors: {
  custom: {
    50: '#905a74',
    500: '#5f153f',
    950: '#000000',
  },
}
SCSS
$custom: #5f153f;
$custom-light: #905a74;
$custom-dark: #000000;
JSON
{
  "hex": "#5f153f",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 325.946,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33683,
    "c": 0.11458,
    "h": 350.3
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#5F153F
secondary
#3A9662
accent
#E78941
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F153F

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

Preview Lab → · Contrast checker → · Palette generator →

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