#5F143E#5F143E

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

Color values

HEX#5F143E
RGBrgb(95, 20, 62)
HSLhsl(326, 65%, 23%)
HSVhsv(326, 79%, 37%)
CMYKcmyk(0%, 78.9%, 34.7%, 62.7%)
CIE-LABlab(21.14, 37.21, -7.02)
CIE-LCHlch(21.14, 37.87, 349.31°)
OKLaboklab(33.54% 0.1138 -0.0182)
OKLCHoklch(33.54% 0.115 350.9)
XYZxyz(5.8393, 3.2817, 4.8824)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F143E #145F35
analogous
#5A145F #5F143E #5F1419
triadic
#5F143E #3E5F14 #143E5F
tetradic
#5F143E #5F5A14 #145F35 #14195F
square
#5F143E #5F5A14 #145F35 #14195F
split-complementary
#5F143E #195F14 #145F5A
monochromatic
#190510 #2C091D #5F143E #921F5F #C42980

Accessibility & contrast

On white

12.68
#5F143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F143E
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F143E#FFFFFF#000000##FFFFFF
##5F143E1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3F
Deuteranopia (green-blind)
#36383C
Tritanopia (blue-blind)
#670F27
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f143e;
/* rgb */ color: rgb(95, 20, 62);
/* oklch */ color: oklch(33.5% 0.115 350.9);
Tailwind
colors: {
  custom: {
    50: '#905a73',
    500: '#5f143e',
    950: '#000000',
  },
}
SCSS
$custom: #5f143e;
$custom-light: #905a73;
$custom-dark: #000000;
JSON
{
  "hex": "#5f143e",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 326.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3354,
    "c": 0.11528,
    "h": 350.9
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#5F143E
secondary
#389762
accent
#E88A40
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F143E

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

Preview Lab → · Contrast checker → · Palette generator →

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