#5F0D27#5F0D27

#5F0D27 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.114 H 8.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#5F0D27
RGBrgb(95, 13, 39)
HSLhsl(341, 76%, 21%)
HSVhsv(341, 86%, 37%)
CMYKcmyk(0%, 86.3%, 58.9%, 62.7%)
CIE-LABlab(19.51, 37.13, 6.77)
CIE-LCHlch(19.51, 37.74, 10.33°)
OKLaboklab(32.08% 0.113 0.0172)
OKLCHoklch(32.08% 0.114 8.7)
XYZxyz(5.2300, 2.8680, 2.1973)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0D27 #0D5F45
analogous
#5F0D50 #5F0D27 #5F1C0D
triadic
#5F0D27 #275F0D #0D275F
tetradic
#5F0D27 #505F0D #0D5F45 #1C0D5F
square
#5F0D27 #505F0D #0D5F45 #1C0D5F
split-complementary
#5F0D27 #0D5F1C #0D505F
monochromatic
#1B040B #290611 #5F0D27 #95143D #CB1C53

Accessibility & contrast

On white

13.35
#5F0D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5F0D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0D27
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0D27#FFFFFF#000000##FFFFFF
##5F0D271.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242527
Deuteranopia (green-blind)
#393525
Tritanopia (blue-blind)
#680019
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0d27;
/* rgb */ color: rgb(95, 13, 39);
/* oklch */ color: oklch(32.1% 0.114 8.7);
Tailwind
colors: {
  custom: {
    50: '#925660',
    500: '#5f0d27',
    950: '#000000',
  },
}
SCSS
$custom: #5f0d27;
$custom-light: #925660;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0d27",
  "rgb": {
    "r": 95,
    "g": 13,
    "b": 39
  },
  "hsl": {
    "h": 340.976,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32084,
    "c": 0.11425,
    "h": 8.7
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#5F0D27
secondary
#2F9977
accent
#F3B735
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0D27

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

Preview Lab → · Contrast checker → · Palette generator →

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