#5F0C26#5F0C26

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

Color values

HEX#5F0C26
RGBrgb(95, 12, 38)
HSLhsl(341, 78%, 21%)
HSVhsv(341, 87%, 37%)
CMYKcmyk(0%, 87.4%, 60%, 62.7%)
CIE-LABlab(19.38, 37.34, 7.30)
CIE-LCHlch(19.38, 38.05, 11.06°)
OKLaboklab(31.98% 0.1135 0.0184)
OKLCHoklch(31.98% 0.115 9.2)
XYZxyz(5.2012, 2.8365, 2.1070)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C26 #0C5F45
analogous
#5F0C4F #5F0C26 #5F1B0C
triadic
#5F0C26 #265F0C #0C265F
tetradic
#5F0C26 #4F5F0C #0C5F45 #1B0C5F
square
#5F0C26 #4F5F0C #0C5F45 #1B0C5F
split-complementary
#5F0C26 #0C5F1B #0C4F5F
monochromatic
#1B030B #290510 #5F0C26 #95133C #CC1A51

Accessibility & contrast

On white

13.40
#5F0C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0C26
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C26#FFFFFF#000000##FFFFFF
##5F0C261.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242426
Deuteranopia (green-blind)
#393524
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0c26;
/* rgb */ color: rgb(95, 12, 38);
/* oklch */ color: oklch(32.0% 0.115 9.2);
Tailwind
colors: {
  custom: {
    50: '#92565f',
    500: '#5f0c26',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c26;
$custom-light: #92565f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c26",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 38
  },
  "hsl": {
    "h": 341.205,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3198,
    "c": 0.11496,
    "h": 9.2
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#5F0C26
secondary
#2D9978
accent
#F4B834
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F0C26

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

Preview Lab → · Contrast checker → · Palette generator →

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