#5F0C27#5F0C27

#5F0C27 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.0% C 0.115 H 8.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#5F0C27
RGBrgb(95, 12, 39)
HSLhsl(340, 78%, 21%)
HSVhsv(340, 87%, 37%)
CMYKcmyk(0%, 87.4%, 58.9%, 62.7%)
CIE-LABlab(19.40, 37.42, 6.63)
CIE-LCHlch(19.40, 38.00, 10.04°)
OKLaboklab(32.01% 0.1139 0.0169)
OKLCHoklch(32.01% 0.115 8.4)
XYZxyz(5.2175, 2.8431, 2.1931)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C27 #0C5F44
analogous
#5F0C50 #5F0C27 #5F1A0C
triadic
#5F0C27 #275F0C #0C275F
tetradic
#5F0C27 #505F0C #0C5F44 #1A0C5F
square
#5F0C27 #505F0C #0C5F44 #1A0C5F
split-complementary
#5F0C27 #0C5F1A #0C505F
monochromatic
#1B030B #290511 #5F0C27 #95133D #CC1A54

Accessibility & contrast

On white

13.39
#5F0C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0C27
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C27#FFFFFF#000000##FFFFFF
##5F0C271.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0c27;
/* rgb */ color: rgb(95, 12, 39);
/* oklch */ color: oklch(32.0% 0.115 8.4);
Tailwind
colors: {
  custom: {
    50: '#925660',
    500: '#5f0c27',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c27;
$custom-light: #925660;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c27",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 340.482,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32009,
    "c": 0.11514,
    "h": 8.4
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#5F0C27
secondary
#2D9976
accent
#F4B634
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0C27

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

Preview Lab → · Contrast checker → · Palette generator →

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