#5F123A#5F123A

#5F123A is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.116 H 353.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#5F123A
RGBrgb(95, 18, 58)
HSLhsl(329, 68%, 22%)
HSVhsv(329, 81%, 37%)
CMYKcmyk(0%, 81.1%, 38.9%, 62.7%)
CIE-LABlab(20.72, 37.44, -4.87)
CIE-LCHlch(20.72, 37.75, 352.58°)
OKLaboklab(33.18% 0.1149 -0.0124)
OKLCHoklch(33.18% 0.116 353.8)
XYZxyz(5.6997, 3.1717, 4.3142)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F123A #125F37
analogous
#5E125F #5F123A #5F1214
triadic
#5F123A #3A5F12 #123A5F
tetradic
#5F123A #5F5E12 #125F37 #12145F
square
#5F123A #5F5E12 #125F37 #12145F
split-complementary
#5F123A #145F12 #125F5E
monochromatic
#1A0510 #2C081B #5F123A #921C59 #C62579

Accessibility & contrast

On white

12.85
#5F123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F123A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F123A#FFFFFF#000000##FFFFFF
##5F123A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293B
Deuteranopia (green-blind)
#373738
Tritanopia (blue-blind)
#670A24
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f123a;
/* rgb */ color: rgb(95, 18, 58);
/* oklch */ color: oklch(33.2% 0.116 353.8);
Tailwind
colors: {
  custom: {
    50: '#905970',
    500: '#5f123a',
    950: '#000000',
  },
}
SCSS
$custom: #5f123a;
$custom-light: #905970;
$custom-dark: #000000;
JSON
{
  "hex": "#5f123a",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 328.831,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3318,
    "c": 0.11559,
    "h": 353.8
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#5F123A
secondary
#369764
accent
#EB913D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F123A

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

Preview Lab → · Contrast checker → · Palette generator →

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