#5F0C29#5F0C29

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

Color values

HEX#5F0C29
RGBrgb(95, 12, 41)
HSLhsl(339, 78%, 21%)
HSVhsv(339, 87%, 37%)
CMYKcmyk(0%, 87.4%, 56.8%, 62.7%)
CIE-LABlab(19.46, 37.59, 5.28)
CIE-LCHlch(19.46, 37.96, 7.99°)
OKLaboklab(32.07% 0.1148 0.0136)
OKLCHoklch(32.07% 0.116 6.8)
XYZxyz(5.2515, 2.8567, 2.3723)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C29 #0C5F42
analogous
#5F0C52 #5F0C29 #5F180C
triadic
#5F0C29 #295F0C #0C295F
tetradic
#5F0C29 #525F0C #0C5F42 #180C5F
square
#5F0C29 #525F0C #0C5F42 #180C5F
split-complementary
#5F0C29 #0C5F18 #0C525F
monochromatic
#1B030C #290512 #5F0C29 #951340 #CC1A58

Accessibility & contrast

On white

13.37
#5F0C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0C29
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C29#FFFFFF#000000##FFFFFF
##5F0C291.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252A
Deuteranopia (green-blind)
#383527
Tritanopia (blue-blind)
#680019
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0c29;
/* rgb */ color: rgb(95, 12, 41);
/* oklch */ color: oklch(32.1% 0.116 6.8);
Tailwind
colors: {
  custom: {
    50: '#925662',
    500: '#5f0c29',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c29;
$custom-light: #925662;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c29",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 41
  },
  "hsl": {
    "h": 339.036,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32068,
    "c": 0.11556,
    "h": 6.8
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#5F0C29
secondary
#2D9974
accent
#F4B134
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0C29

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

Preview Lab → · Contrast checker → · Palette generator →

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