#5F123E#5F123E

#5F123E is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.4% C 0.118 H 350.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5F123E
RGBrgb(95, 18, 62)
HSLhsl(326, 68%, 22%)
HSVhsv(326, 81%, 37%)
CMYKcmyk(0%, 81.1%, 34.7%, 62.7%)
CIE-LABlab(20.88, 37.94, -7.41)
CIE-LCHlch(20.88, 38.66, 348.95°)
OKLaboklab(33.35% 0.1161 -0.0193)
OKLCHoklch(33.35% 0.118 350.6)
XYZxyz(5.8055, 3.2140, 4.8711)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F123E #125F33
analogous
#5A125F #5F123E #5F1218
triadic
#5F123E #3E5F12 #123E5F
tetradic
#5F123E #5F5A12 #125F33 #12185F
square
#5F123E #5F5A12 #125F33 #12185F
split-complementary
#5F123E #185F12 #125F5A
monochromatic
#1A0511 #2C081C #5F123E #921C60 #C62581

Accessibility & contrast

On white

12.78
#5F123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F123E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F123E#FFFFFF#000000##FFFFFF
##5F123E1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293F
Deuteranopia (green-blind)
#36373C
Tritanopia (blue-blind)
#670C26
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f123e;
/* rgb */ color: rgb(95, 18, 62);
/* oklch */ color: oklch(33.4% 0.118 350.6);
Tailwind
colors: {
  custom: {
    50: '#905973',
    500: '#5f123e',
    950: '#000000',
  },
}
SCSS
$custom: #5f123e;
$custom-light: #905973;
$custom-dark: #000000;
JSON
{
  "hex": "#5f123e",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 325.714,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33352,
    "c": 0.11771,
    "h": 350.6
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#5F123E
secondary
#36975F
accent
#EB873D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F123E

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

Preview Lab → · Contrast checker → · Palette generator →

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