#5F102A#5F102A

#5F102A is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.112 H 6.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#5F102A
RGBrgb(95, 16, 42)
HSLhsl(340, 71%, 22%)
HSVhsv(340, 83%, 37%)
CMYKcmyk(0%, 83.2%, 55.8%, 62.7%)
CIE-LABlab(19.93, 36.43, 5.23)
CIE-LCHlch(19.93, 36.80, 8.17°)
OKLaboklab(32.42% 0.1111 0.0135)
OKLCHoklch(32.42% 0.112 6.9)
XYZxyz(5.3230, 2.9714, 2.4833)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F102A #105F45
analogous
#5F1052 #5F102A #5F1E10
triadic
#5F102A #2A5F10 #102A5F
tetradic
#5F102A #525F10 #105F45 #1E105F
square
#5F102A #525F10 #105F45 #1E105F
split-complementary
#5F102A #105F1E #10525F
monochromatic
#1A040C #2B0713 #5F102A #931941 #C82258

Accessibility & contrast

On white

13.17
#5F102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F102A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F102A#FFFFFF#000000##FFFFFF
##5F102A1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25262B
Deuteranopia (green-blind)
#393628
Tritanopia (blue-blind)
#68001B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f102a;
/* rgb */ color: rgb(95, 16, 42);
/* oklch */ color: oklch(32.4% 0.112 6.9);
Tailwind
colors: {
  custom: {
    50: '#915763',
    500: '#5f102a',
    950: '#000000',
  },
}
SCSS
$custom: #5f102a;
$custom-light: #915763;
$custom-dark: #000000;
JSON
{
  "hex": "#5f102a",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 340.253,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32422,
    "c": 0.11196,
    "h": 6.9
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#5F102A
secondary
#339877
accent
#EEB33A
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #5F102A

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

Preview Lab → · Contrast checker → · Palette generator →

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