#5F102F#5F102F

#5F102F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.113 H 2.7°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#5F102F
RGBrgb(95, 16, 47)
HSLhsl(336, 71%, 22%)
HSVhsv(336, 83%, 37%)
CMYKcmyk(0%, 83.2%, 50.5%, 62.7%)
CIE-LABlab(20.08, 36.91, 1.91)
CIE-LCHlch(20.08, 36.96, 2.96°)
OKLaboklab(32.58% 0.1132 0.0053)
OKLCHoklch(32.58% 0.113 2.7)
XYZxyz(5.4182, 3.0095, 2.9843)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F102F #105F40
analogous
#5F1057 #5F102F #5F1910
triadic
#5F102F #2F5F10 #102F5F
tetradic
#5F102F #575F10 #105F40 #19105F
square
#5F102F #575F10 #105F40 #19105F
split-complementary
#5F102F #105F19 #10575F
monochromatic
#1A040D #2B0715 #5F102F #931949 #C82263

Accessibility & contrast

On white

13.11
#5F102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F102F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F102F#FFFFFF#000000##FFFFFF
##5F102F1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232730
Deuteranopia (green-blind)
#38362D
Tritanopia (blue-blind)
#68001E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f102f;
/* rgb */ color: rgb(95, 16, 47);
/* oklch */ color: oklch(32.6% 0.113 2.7);
Tailwind
colors: {
  custom: {
    50: '#915767',
    500: '#5f102f',
    950: '#000000',
  },
}
SCSS
$custom: #5f102f;
$custom-light: #915767;
$custom-dark: #000000;
JSON
{
  "hex": "#5f102f",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 336.456,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32585,
    "c": 0.1133,
    "h": 2.7
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#5F102F
secondary
#339870
accent
#EEA73A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F102F

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

Preview Lab → · Contrast checker → · Palette generator →

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