#5F102E#5F102E

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

Color values

HEX#5F102E
RGBrgb(95, 16, 46)
HSLhsl(337, 71%, 22%)
HSVhsv(337, 83%, 37%)
CMYKcmyk(0%, 83.2%, 51.6%, 62.7%)
CIE-LABlab(20.05, 36.81, 2.57)
CIE-LCHlch(20.05, 36.90, 3.99°)
OKLaboklab(32.55% 0.1128 0.007)
OKLCHoklch(32.55% 0.113 3.5)
XYZxyz(5.3982, 3.0015, 2.8793)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F102E #105F41
analogous
#5F1056 #5F102E #5F1A10
triadic
#5F102E #2E5F10 #102E5F
tetradic
#5F102E #565F10 #105F41 #1A105F
square
#5F102E #565F10 #105F41 #1A105F
split-complementary
#5F102E #105F1A #10565F
monochromatic
#1A040D #2B0715 #5F102E #931947 #C82261

Accessibility & contrast

On white

13.12
#5F102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F102E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F102E#FFFFFF#000000##FFFFFF
##5F102E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#39362C
Tritanopia (blue-blind)
#68001D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f102e;
/* rgb */ color: rgb(95, 16, 46);
/* oklch */ color: oklch(32.6% 0.113 3.5);
Tailwind
colors: {
  custom: {
    50: '#915766',
    500: '#5f102e',
    950: '#000000',
  },
}
SCSS
$custom: #5f102e;
$custom-light: #915766;
$custom-dark: #000000;
JSON
{
  "hex": "#5f102e",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 337.215,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32551,
    "c": 0.11299,
    "h": 3.5
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#5F102E
secondary
#339872
accent
#EEAA3A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F102E

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

Preview Lab → · Contrast checker → · Palette generator →

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