#5F0E29#5F0E29

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

Color values

HEX#5F0E29
RGBrgb(95, 14, 41)
HSLhsl(340, 74%, 21%)
HSVhsv(340, 85%, 37%)
CMYKcmyk(0%, 85.3%, 56.8%, 62.7%)
CIE-LABlab(19.67, 36.99, 5.57)
CIE-LCHlch(19.67, 37.41, 8.57°)
OKLaboklab(32.22% 0.1128 0.0143)
OKLCHoklch(32.22% 0.114 7.2)
XYZxyz(5.2771, 2.9078, 2.3808)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E29 #0E5F44
analogous
#5F0E52 #5F0E29 #5F1C0E
triadic
#5F0E29 #295F0E #0E295F
tetradic
#5F0E29 #525F0E #0E5F44 #1C0E5F
square
#5F0E29 #525F0E #0E5F44 #1C0E5F
split-complementary
#5F0E29 #0E5F1C #0E525F
monochromatic
#1B040C #2A0612 #5F0E29 #941640 #CA1E57

Accessibility & contrast

On white

13.28
#5F0E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0E29
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E29#FFFFFF#000000##FFFFFF
##5F0E291.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24252A
Deuteranopia (green-blind)
#393527
Tritanopia (blue-blind)
#68001A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0e29;
/* rgb */ color: rgb(95, 14, 41);
/* oklch */ color: oklch(32.2% 0.114 7.2);
Tailwind
colors: {
  custom: {
    50: '#915662',
    500: '#5f0e29',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e29;
$custom-light: #915662;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e29",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 41
  },
  "hsl": {
    "h": 340,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32223,
    "c": 0.11372,
    "h": 7.2
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#5F0E29
secondary
#309976
accent
#F1B337
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0E29

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

Preview Lab → · Contrast checker → · Palette generator →

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