#5F102D#5F102D

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

Color values

HEX#5F102D
RGBrgb(95, 16, 45)
HSLhsl(338, 71%, 22%)
HSVhsv(338, 83%, 37%)
CMYKcmyk(0%, 83.2%, 52.6%, 62.7%)
CIE-LABlab(20.02, 36.71, 3.23)
CIE-LCHlch(20.02, 36.85, 5.03°)
OKLaboklab(32.52% 0.1124 0.0086)
OKLCHoklch(32.52% 0.113 4.4)
XYZxyz(5.3787, 2.9937, 2.7767)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F102D #105F42
analogous
#5F1055 #5F102D #5F1B10
triadic
#5F102D #2D5F10 #102D5F
tetradic
#5F102D #555F10 #105F42 #1B105F
square
#5F102D #555F10 #105F42 #1B105F
split-complementary
#5F102D #105F1B #10555F
monochromatic
#1A040C #2B0714 #5F102D #931946 #C8225F

Accessibility & contrast

On white

13.14
#5F102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F102D
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F102D#FFFFFF#000000##FFFFFF
##5F102D1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262E
Deuteranopia (green-blind)
#39362B
Tritanopia (blue-blind)
#68001D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f102d;
/* rgb */ color: rgb(95, 16, 45);
/* oklch */ color: oklch(32.5% 0.113 4.4);
Tailwind
colors: {
  custom: {
    50: '#915765',
    500: '#5f102d',
    950: '#000000',
  },
}
SCSS
$custom: #5f102d;
$custom-light: #915765;
$custom-dark: #000000;
JSON
{
  "hex": "#5f102d",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 337.975,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32518,
    "c": 0.11271,
    "h": 4.4
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#5F102D
secondary
#339873
accent
#EEAC3A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F102D

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

Preview Lab → · Contrast checker → · Palette generator →

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