#5F123D#5F123D

#5F123D is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.117 H 351.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5F123D
RGBrgb(95, 18, 61)
HSLhsl(326, 68%, 22%)
HSVhsv(326, 81%, 37%)
CMYKcmyk(0%, 81.1%, 35.8%, 62.7%)
CIE-LABlab(20.84, 37.81, -6.78)
CIE-LCHlch(20.84, 38.41, 349.83°)
OKLaboklab(33.31% 0.1158 -0.0176)
OKLCHoklch(33.31% 0.117 351.4)
XYZxyz(5.7783, 3.2031, 4.7279)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F123D #125F34
analogous
#5B125F #5F123D #5F1216
triadic
#5F123D #3D5F12 #123D5F
tetradic
#5F123D #5F5B12 #125F34 #12165F
square
#5F123D #5F5B12 #125F34 #12165F
split-complementary
#5F123D #165F12 #125F5B
monochromatic
#1A0511 #2C081C #5F123D #921C5E #C6257F

Accessibility & contrast

On white

12.80
#5F123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F123D
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F123D#FFFFFF#000000##FFFFFF
##5F123D1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293E
Deuteranopia (green-blind)
#36373B
Tritanopia (blue-blind)
#670C25
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f123d;
/* rgb */ color: rgb(95, 18, 61);
/* oklch */ color: oklch(33.3% 0.117 351.4);
Tailwind
colors: {
  custom: {
    50: '#905972',
    500: '#5f123d',
    950: '#000000',
  },
}
SCSS
$custom: #5f123d;
$custom-light: #905972;
$custom-dark: #000000;
JSON
{
  "hex": "#5f123d",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 326.494,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33308,
    "c": 0.11715,
    "h": 351.4
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#5F123D
secondary
#369761
accent
#EB8A3D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F123D

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

Preview Lab → · Contrast checker → · Palette generator →

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