#5F103B#5F103B

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

Color values

HEX#5F103B
RGBrgb(95, 16, 59)
HSLhsl(327, 71%, 22%)
HSVhsv(327, 83%, 37%)
CMYKcmyk(0%, 83.2%, 37.9%, 62.7%)
CIE-LABlab(20.52, 38.24, -5.87)
CIE-LCHlch(20.52, 38.69, 351.27°)
OKLaboklab(33.05% 0.1174 -0.0151)
OKLCHoklch(33.05% 0.118 352.7)
XYZxyz(5.6944, 3.1199, 4.4392)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F103B #105F34
analogous
#5C105F #5F103B #5F1014
triadic
#5F103B #3B5F10 #103B5F
tetradic
#5F103B #5F5C10 #105F34 #10145F
square
#5F103B #5F5C10 #105F34 #10145F
split-complementary
#5F103B #145F10 #105F5C
monochromatic
#1A0410 #2B071A #5F103B #93195C #C8227C

Accessibility & contrast

On white

12.93
#5F103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F103B
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F103B#FFFFFF#000000##FFFFFF
##5F103B1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#363739
Tritanopia (blue-blind)
#670824
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f103b;
/* rgb */ color: rgb(95, 16, 59);
/* oklch */ color: oklch(33.0% 0.118 352.7);
Tailwind
colors: {
  custom: {
    50: '#905870',
    500: '#5f103b',
    950: '#000000',
  },
}
SCSS
$custom: #5f103b;
$custom-light: #905870;
$custom-dark: #000000;
JSON
{
  "hex": "#5f103b",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 327.342,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33047,
    "c": 0.11836,
    "h": 352.7
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#5F103B
secondary
#339861
accent
#EE8C3A
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F103B

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

Preview Lab → · Contrast checker → · Palette generator →

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