#5F1027#5F1027

#5F1027 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.111 H 9.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#5F1027
RGBrgb(95, 16, 39)
HSLhsl(343, 71%, 22%)
HSVhsv(343, 83%, 37%)
CMYKcmyk(0%, 83.2%, 58.9%, 62.7%)
CIE-LABlab(19.85, 36.17, 7.24)
CIE-LCHlch(19.85, 36.89, 11.32°)
OKLaboklab(32.33% 0.1099 0.0183)
OKLCHoklch(32.33% 0.111 9.5)
XYZxyz(5.2713, 2.9507, 2.2110)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1027 #105F48
analogous
#5F104F #5F1027 #5F2110
triadic
#5F1027 #275F10 #10275F
tetradic
#5F1027 #4F5F10 #105F48 #21105F
square
#5F1027 #4F5F10 #105F48 #21105F
split-complementary
#5F1027 #105F21 #104F5F
monochromatic
#1A040B #2B0711 #5F1027 #93193D #C82252

Accessibility & contrast

On white

13.21
#5F1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F1027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1027
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1027#FFFFFF#000000##FFFFFF
##5F10271.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1027;
/* rgb */ color: rgb(95, 16, 39);
/* oklch */ color: oklch(32.3% 0.111 9.5);
Tailwind
colors: {
  custom: {
    50: '#925760',
    500: '#5f1027',
    950: '#000000',
  },
}
SCSS
$custom: #5f1027;
$custom-light: #925760;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1027",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 342.532,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32334,
    "c": 0.11138,
    "h": 9.5
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#5F1027
secondary
#33987B
accent
#EEBA3A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F1027

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

Preview Lab → · Contrast checker → · Palette generator →

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