#5F102C#5F102C

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

Color values

HEX#5F102C
RGBrgb(95, 16, 44)
HSLhsl(339, 71%, 22%)
HSVhsv(339, 83%, 37%)
CMYKcmyk(0%, 83.2%, 53.7%, 62.7%)
CIE-LABlab(19.99, 36.61, 3.90)
CIE-LCHlch(19.99, 36.82, 6.07°)
OKLaboklab(32.49% 0.112 0.0103)
OKLCHoklch(32.49% 0.112 5.2)
XYZxyz(5.3597, 2.9861, 2.6765)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F102C #105F43
analogous
#5F1054 #5F102C #5F1C10
triadic
#5F102C #2C5F10 #102C5F
tetradic
#5F102C #545F10 #105F43 #1C105F
square
#5F102C #545F10 #105F43 #1C105F
split-complementary
#5F102C #105F1C #10545F
monochromatic
#1A040C #2B0714 #5F102C #931944 #C8225D

Accessibility & contrast

On white

13.15
#5F102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F102C
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F102C#FFFFFF#000000##FFFFFF
##5F102C1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f102c;
/* rgb */ color: rgb(95, 16, 44);
/* oklch */ color: oklch(32.5% 0.112 5.2);
Tailwind
colors: {
  custom: {
    50: '#915764',
    500: '#5f102c',
    950: '#000000',
  },
}
SCSS
$custom: #5f102c;
$custom-light: #915764;
$custom-dark: #000000;
JSON
{
  "hex": "#5f102c",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 338.734,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32485,
    "c": 0.11244,
    "h": 5.2
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#5F102C
secondary
#339874
accent
#EEAE3A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F102C

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

Preview Lab → · Contrast checker → · Palette generator →

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