#5F1327#5F1327

#5F1327 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.108 H 10.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#5F1327
RGBrgb(95, 19, 39)
HSLhsl(344, 67%, 22%)
HSVhsv(344, 80%, 37%)
CMYKcmyk(0%, 80%, 58.9%, 62.7%)
CIE-LABlab(20.23, 35.10, 7.77)
CIE-LCHlch(20.23, 35.95, 12.48°)
OKLaboklab(32.62% 0.1064 0.0196)
OKLCHoklch(32.62% 0.108 10.4)
XYZxyz(5.3189, 3.0459, 2.2269)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1327 #135F4B
analogous
#5F134D #5F1327 #5F2513
triadic
#5F1327 #275F13 #13275F
tetradic
#5F1327 #4D5F13 #135F4B #25135F
square
#5F1327 #4D5F13 #135F4B #25135F
split-complementary
#5F1327 #135F25 #134D5F
monochromatic
#1A050A #2C0912 #5F1327 #921D3C #C52751

Accessibility & contrast

On white

13.05
#5F1327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F1327 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1327
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1327#FFFFFF#000000##FFFFFF
##5F13271.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272727
Deuteranopia (green-blind)
#3A3625
Tritanopia (blue-blind)
#68001B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1327;
/* rgb */ color: rgb(95, 19, 39);
/* oklch */ color: oklch(32.6% 0.108 10.4);
Tailwind
colors: {
  custom: {
    50: '#915860',
    500: '#5f1327',
    950: '#000000',
  },
}
SCSS
$custom: #5f1327;
$custom-light: #915860;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1327",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 39
  },
  "hsl": {
    "h": 344.211,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32615,
    "c": 0.10819,
    "h": 10.4
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#5F1327
secondary
#37977E
accent
#EABC3E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #5F1327

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

Preview Lab → · Contrast checker → · Palette generator →

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