#5F153C#5F153C

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

Color values

HEX#5F153C
RGBrgb(95, 21, 60)
HSLhsl(328, 64%, 23%)
HSVhsv(328, 78%, 37%)
CMYKcmyk(0%, 77.9%, 36.8%, 62.7%)
CIE-LABlab(21.19, 36.57, -5.55)
CIE-LCHlch(21.19, 36.99, 351.36°)
OKLaboklab(33.55% 0.112 -0.0143)
OKLCHoklch(33.55% 0.113 352.7)
XYZxyz(5.8034, 3.2962, 4.6047)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F153C #155F38
analogous
#5D155F #5F153C #5F1517
triadic
#5F153C #3C5F15 #153C5F
tetradic
#5F153C #5F5D15 #155F38 #15175F
square
#5F153C #5F5D15 #155F38 #15175F
split-complementary
#5F153C #175F15 #155F5D
monochromatic
#190610 #2D0A1C #5F153C #91205C #C32B7B

Accessibility & contrast

On white

12.66
#5F153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F153C
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F153C#FFFFFF#000000##FFFFFF
##5F153C1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3D
Deuteranopia (green-blind)
#37383A
Tritanopia (blue-blind)
#670F26
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f153c;
/* rgb */ color: rgb(95, 21, 60);
/* oklch */ color: oklch(33.6% 0.113 352.7);
Tailwind
colors: {
  custom: {
    50: '#905a71',
    500: '#5f153c',
    950: '#000000',
  },
}
SCSS
$custom: #5f153c;
$custom-light: #905a71;
$custom-dark: #000000;
JSON
{
  "hex": "#5f153c",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 328.378,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33553,
    "c": 0.11294,
    "h": 352.7
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#5F153C
secondary
#3A9665
accent
#E78F41
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F153C

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

Preview Lab → · Contrast checker → · Palette generator →

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