#5F0D28#5F0D28

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

Color values

HEX#5F0D28
RGBrgb(95, 13, 40)
HSLhsl(340, 76%, 21%)
HSVhsv(340, 86%, 37%)
CMYKcmyk(0%, 86.3%, 57.9%, 62.7%)
CIE-LABlab(19.53, 37.21, 6.10)
CIE-LCHlch(19.53, 37.71, 9.30°)
OKLaboklab(32.11% 0.1134 0.0156)
OKLCHoklch(32.11% 0.114 7.8)
XYZxyz(5.2467, 2.8747, 2.2857)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0D28 #0D5F44
analogous
#5F0D51 #5F0D28 #5F1B0D
triadic
#5F0D28 #285F0D #0D285F
tetradic
#5F0D28 #515F0D #0D5F44 #1B0D5F
square
#5F0D28 #515F0D #0D5F44 #1B0D5F
split-complementary
#5F0D28 #0D5F1B #0D515F
monochromatic
#1B040B #290611 #5F0D28 #95143F #CB1C55

Accessibility & contrast

On white

13.34
#5F0D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0D28
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0D28#FFFFFF#000000##FFFFFF
##5F0D281.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0d28;
/* rgb */ color: rgb(95, 13, 40);
/* oklch */ color: oklch(32.1% 0.114 7.8);
Tailwind
colors: {
  custom: {
    50: '#925661',
    500: '#5f0d28',
    950: '#000000',
  },
}
SCSS
$custom: #5f0d28;
$custom-light: #925661;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0d28",
  "rgb": {
    "r": 95,
    "g": 13,
    "b": 40
  },
  "hsl": {
    "h": 340.244,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32114,
    "c": 0.11445,
    "h": 7.8
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#5F0D28
secondary
#2F9976
accent
#F3B435
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0D28

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

Preview Lab → · Contrast checker → · Palette generator →

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