#5F103A#5F103A

#5F103A is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.118 H 353.5°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#5F103A
RGBrgb(95, 16, 58)
HSLhsl(328, 71%, 22%)
HSVhsv(328, 83%, 37%)
CMYKcmyk(0%, 83.2%, 38.9%, 62.7%)
CIE-LABlab(20.48, 38.12, -5.24)
CIE-LCHlch(20.48, 38.48, 352.18°)
OKLaboklab(33% 0.1171 -0.0134)
OKLCHoklch(33% 0.118 353.5)
XYZxyz(5.6687, 3.1097, 4.3039)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F103A #105F35
analogous
#5D105F #5F103A #5F1013
triadic
#5F103A #3A5F10 #103A5F
tetradic
#5F103A #5F5D10 #105F35 #10135F
square
#5F103A #5F5D10 #105F35 #10135F
split-complementary
#5F103A #135F10 #105F5D
monochromatic
#1A0410 #2B071A #5F103A #93195A #C8227A

Accessibility & contrast

On white

12.95
#5F103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F103A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F103A#FFFFFF#000000##FFFFFF
##5F103A1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283B
Deuteranopia (green-blind)
#363638
Tritanopia (blue-blind)
#670723
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f103a;
/* rgb */ color: rgb(95, 16, 58);
/* oklch */ color: oklch(33.0% 0.118 353.5);
Tailwind
colors: {
  custom: {
    50: '#905870',
    500: '#5f103a',
    950: '#000000',
  },
}
SCSS
$custom: #5f103a;
$custom-light: #905870;
$custom-dark: #000000;
JSON
{
  "hex": "#5f103a",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 328.101,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33004,
    "c": 0.11784,
    "h": 353.5
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#5F103A
secondary
#339862
accent
#EE8E3A
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F103A

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

Preview Lab → · Contrast checker → · Palette generator →

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