#5F0F27#5F0F27

#5F0F27 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.112 H 9.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#5F0F27
RGBrgb(95, 15, 39)
HSLhsl(342, 73%, 22%)
HSVhsv(342, 84%, 37%)
CMYKcmyk(0%, 84.2%, 58.9%, 62.7%)
CIE-LABlab(19.73, 36.50, 7.08)
CIE-LCHlch(19.73, 37.18, 10.97°)
OKLaboklab(32.25% 0.1109 0.0179)
OKLCHoklch(32.25% 0.112 9.2)
XYZxyz(5.2569, 2.9218, 2.2062)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F27 #0F5F47
analogous
#5F0F4F #5F0F27 #5F1F0F
triadic
#5F0F27 #275F0F #0F275F
tetradic
#5F0F27 #4F5F0F #0F5F47 #1F0F5F
square
#5F0F27 #4F5F0F #0F5F47 #1F0F5F
split-complementary
#5F0F27 #0F5F1F #0F4F5F
monochromatic
#1A040B #2A0711 #5F0F27 #94173D #C92052

Accessibility & contrast

On white

13.26
#5F0F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F0F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F27
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F27#FFFFFF#000000##FFFFFF
##5F0F271.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252527
Deuteranopia (green-blind)
#393525
Tritanopia (blue-blind)
#680019
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0f27;
/* rgb */ color: rgb(95, 15, 39);
/* oklch */ color: oklch(32.2% 0.112 9.2);
Tailwind
colors: {
  custom: {
    50: '#925760',
    500: '#5f0f27',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f27;
$custom-light: #925760;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f27",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 342,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32247,
    "c": 0.11237,
    "h": 9.2
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#5F0F27
secondary
#329879
accent
#EFB938
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0F27

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

Preview Lab → · Contrast checker → · Palette generator →

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