#5F143F#5F143F

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

Color values

HEX#5F143F
RGBrgb(95, 20, 63)
HSLhsl(326, 65%, 23%)
HSVhsv(326, 79%, 37%)
CMYKcmyk(0%, 78.9%, 33.7%, 62.7%)
CIE-LABlab(21.18, 37.34, -7.65)
CIE-LCHlch(21.18, 38.12, 348.42°)
OKLaboklab(33.58% 0.1141 -0.0199)
OKLCHoklch(33.58% 0.116 350.1)
XYZxyz(5.8670, 3.2928, 5.0283)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F143F #145F34
analogous
#59145F #5F143F #5F141A
triadic
#5F143F #3F5F14 #143F5F
tetradic
#5F143F #5F5914 #145F34 #141A5F
square
#5F143F #5F5914 #145F34 #141A5F
split-complementary
#5F143F #1A5F14 #145F59
monochromatic
#190511 #2C091D #5F143F #921F61 #C42982

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F143F#FFFFFF#000000##FFFFFF
##5F143F1.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)
#202A40
Deuteranopia (green-blind)
#36383D
Tritanopia (blue-blind)
#670F27
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f143f;
/* rgb */ color: rgb(95, 20, 63);
/* oklch */ color: oklch(33.6% 0.116 350.1);
Tailwind
colors: {
  custom: {
    50: '#905a74',
    500: '#5f143f',
    950: '#000000',
  },
}
SCSS
$custom: #5f143f;
$custom-light: #905a74;
$custom-dark: #000000;
JSON
{
  "hex": "#5f143f",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 325.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33584,
    "c": 0.11585,
    "h": 350.1
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#5F143F
secondary
#389760
accent
#E88840
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F143F

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

Preview Lab → · Contrast checker → · Palette generator →

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