#5F153A#5F153A

#5F153A is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.112 H 354.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#5F153A
RGBrgb(95, 21, 58)
HSLhsl(330, 64%, 23%)
HSVhsv(330, 78%, 37%)
CMYKcmyk(0%, 77.9%, 38.9%, 62.7%)
CIE-LABlab(21.11, 36.32, -4.28)
CIE-LCHlch(21.11, 36.57, 353.27°)
OKLaboklab(33.47% 0.1114 -0.0108)
OKLCHoklch(33.47% 0.112 354.4)
XYZxyz(5.7516, 3.2754, 4.3315)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F153A #155F3A
analogous
#5F155F #5F153A #5F1515
triadic
#5F153A #3A5F15 #153A5F
tetradic
#5F153A #5F5F15 #155F3A #15155F
square
#5F153A #5F5F15 #155F3A #15155F
split-complementary
#5F153A #155F15 #155F5F
monochromatic
#19060F #2D0A1B #5F153A #912059 #C32B77

Accessibility & contrast

On white

12.69
#5F153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F153A
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F153A#FFFFFF#000000##FFFFFF
##5F153A1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3B
Deuteranopia (green-blind)
#373838
Tritanopia (blue-blind)
#670E25
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f153a;
/* rgb */ color: rgb(95, 21, 58);
/* oklch */ color: oklch(33.5% 0.112 354.4);
Tailwind
colors: {
  custom: {
    50: '#905a70',
    500: '#5f153a',
    950: '#000000',
  },
}
SCSS
$custom: #5f153a;
$custom-light: #905a70;
$custom-dark: #000000;
JSON
{
  "hex": "#5f153a",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 330,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3347,
    "c": 0.11191,
    "h": 354.4
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#5F153A
secondary
#3A9668
accent
#E79441
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F153A

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

Preview Lab → · Contrast checker → · Palette generator →

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