#5F1127#5F1127

#5F1127 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.110 H 9.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#5F1127
RGBrgb(95, 17, 39)
HSLhsl(343, 70%, 22%)
HSVhsv(343, 82%, 37%)
CMYKcmyk(0%, 82.1%, 58.9%, 62.7%)
CIE-LABlab(19.97, 35.83, 7.41)
CIE-LCHlch(19.97, 36.58, 11.68°)
OKLaboklab(32.42% 0.1087 0.0187)
OKLCHoklch(32.42% 0.11 9.8)
XYZxyz(5.2865, 2.9810, 2.2161)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1127 #115F49
analogous
#5F114E #5F1127 #5F2211
triadic
#5F1127 #275F11 #11275F
tetradic
#5F1127 #4E5F11 #115F49 #22115F
square
#5F1127 #4E5F11 #115F49 #22115F
split-complementary
#5F1127 #115F22 #114E5F
monochromatic
#1A050B #2B0812 #5F1127 #931A3C #C72452

Accessibility & contrast

On white

13.16
#5F1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5F1127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1127
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1127#FFFFFF#000000##FFFFFF
##5F11271.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262627
Deuteranopia (green-blind)
#3A3625
Tritanopia (blue-blind)
#68001A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1127;
/* rgb */ color: rgb(95, 17, 39);
/* oklch */ color: oklch(32.4% 0.110 9.8);
Tailwind
colors: {
  custom: {
    50: '#915860',
    500: '#5f1127',
    950: '#000000',
  },
}
SCSS
$custom: #5f1127;
$custom-light: #915860;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1127",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 343.077,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32424,
    "c": 0.11034,
    "h": 9.8
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#5F1127
secondary
#34987C
accent
#ECBA3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #5F1127

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

Preview Lab → · Contrast checker → · Palette generator →

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