#5F0C28#5F0C28

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

Color values

HEX#5F0C28
RGBrgb(95, 12, 40)
HSLhsl(340, 78%, 21%)
HSVhsv(340, 87%, 37%)
CMYKcmyk(0%, 87.4%, 57.9%, 62.7%)
CIE-LABlab(19.43, 37.50, 5.95)
CIE-LCHlch(19.43, 37.97, 9.02°)
OKLaboklab(32.04% 0.1143 0.0152)
OKLCHoklch(32.04% 0.115 7.6)
XYZxyz(5.2343, 2.8498, 2.2815)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C28 #0C5F43
analogous
#5F0C51 #5F0C28 #5F190C
triadic
#5F0C28 #285F0C #0C285F
tetradic
#5F0C28 #515F0C #0C5F43 #190C5F
square
#5F0C28 #515F0C #0C5F43 #190C5F
split-complementary
#5F0C28 #0C5F19 #0C515F
monochromatic
#1B030B #290511 #5F0C28 #95133F #CC1A56

Accessibility & contrast

On white

13.38
#5F0C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0C28
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C28#FFFFFF#000000##FFFFFF
##5F0C281.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0c28;
/* rgb */ color: rgb(95, 12, 40);
/* oklch */ color: oklch(32.0% 0.115 7.6);
Tailwind
colors: {
  custom: {
    50: '#925661',
    500: '#5f0c28',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c28;
$custom-light: #925661;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c28",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 339.759,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32038,
    "c": 0.11534,
    "h": 7.6
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#5F0C28
secondary
#2D9975
accent
#F4B334
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0C28

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

Preview Lab → · Contrast checker → · Palette generator →

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