#5F102B#5F102B

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

Color values

HEX#5F102B
RGBrgb(95, 16, 43)
HSLhsl(339, 71%, 22%)
HSVhsv(339, 83%, 37%)
CMYKcmyk(0%, 83.2%, 54.7%, 62.7%)
CIE-LABlab(19.96, 36.52, 4.56)
CIE-LCHlch(19.96, 36.81, 7.12°)
OKLaboklab(32.45% 0.1116 0.0119)
OKLCHoklch(32.45% 0.112 6.1)
XYZxyz(5.3411, 2.9786, 2.5787)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F102B #105F44
analogous
#5F1053 #5F102B #5F1D10
triadic
#5F102B #2B5F10 #102B5F
tetradic
#5F102B #535F10 #105F44 #1D105F
square
#5F102B #535F10 #105F44 #1D105F
split-complementary
#5F102B #105F1D #10535F
monochromatic
#1A040C #2B0713 #5F102B #931943 #C8225A

Accessibility & contrast

On white

13.16
#5F102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5F102B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F102B
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F102B#FFFFFF#000000##FFFFFF
##5F102B1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262C
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#68001C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f102b;
/* rgb */ color: rgb(95, 16, 43);
/* oklch */ color: oklch(32.5% 0.112 6.1);
Tailwind
colors: {
  custom: {
    50: '#915764',
    500: '#5f102b',
    950: '#000000',
  },
}
SCSS
$custom: #5f102b;
$custom-light: #915764;
$custom-dark: #000000;
JSON
{
  "hex": "#5f102b",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 339.494,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32453,
    "c": 0.11219,
    "h": 6.1
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#5F102B
secondary
#339875
accent
#EEB03A
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F102B

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

Preview Lab → · Contrast checker → · Palette generator →

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