#5F0F29#5F0F29

#5F0F29 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.113 H 7.5°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#5F0F29
RGBrgb(95, 15, 41)
HSLhsl(341, 73%, 22%)
HSVhsv(341, 84%, 37%)
CMYKcmyk(0%, 84.2%, 56.8%, 62.7%)
CIE-LABlab(19.78, 36.67, 5.73)
CIE-LCHlch(19.78, 37.12, 8.88°)
OKLaboklab(32.31% 0.1118 0.0147)
OKLCHoklch(32.31% 0.113 7.5)
XYZxyz(5.2909, 2.9354, 2.3854)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F29 #0F5F45
analogous
#5F0F51 #5F0F29 #5F1D0F
triadic
#5F0F29 #295F0F #0F295F
tetradic
#5F0F29 #515F0F #0F5F45 #1D0F5F
square
#5F0F29 #515F0F #0F5F45 #1D0F5F
split-complementary
#5F0F29 #0F5F1D #0F515F
monochromatic
#1A040B #2A0712 #5F0F29 #941740 #C92057

Accessibility & contrast

On white

13.23
#5F0F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F0F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F29
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F29#FFFFFF#000000##FFFFFF
##5F0F291.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0f29;
/* rgb */ color: rgb(95, 15, 41);
/* oklch */ color: oklch(32.3% 0.113 7.5);
Tailwind
colors: {
  custom: {
    50: '#915762',
    500: '#5f0f29',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f29;
$custom-light: #915762;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f29",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 340.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32306,
    "c": 0.11276,
    "h": 7.5
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#5F0F29
secondary
#329877
accent
#EFB438
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0F29

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

Preview Lab → · Contrast checker → · Palette generator →

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