#5F123B#5F123B

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

Color values

HEX#5F123B
RGBrgb(95, 18, 59)
HSLhsl(328, 68%, 22%)
HSVhsv(328, 81%, 37%)
CMYKcmyk(0%, 81.1%, 37.9%, 62.7%)
CIE-LABlab(20.76, 37.56, -5.51)
CIE-LCHlch(20.76, 37.96, 351.65°)
OKLaboklab(33.22% 0.1152 -0.0141)
OKLCHoklch(33.22% 0.116 353)
XYZxyz(5.7254, 3.1820, 4.4495)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F123B #125F36
analogous
#5D125F #5F123B #5F1214
triadic
#5F123B #3B5F12 #123B5F
tetradic
#5F123B #5F5D12 #125F36 #12145F
square
#5F123B #5F5D12 #125F36 #12145F
split-complementary
#5F123B #145F12 #125F5D
monochromatic
#1A0510 #2C081B #5F123B #921C5B #C6257B

Accessibility & contrast

On white

12.83
#5F123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F123B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F123B#FFFFFF#000000##FFFFFF
##5F123B1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f123b;
/* rgb */ color: rgb(95, 18, 59);
/* oklch */ color: oklch(33.2% 0.116 353.0);
Tailwind
colors: {
  custom: {
    50: '#905970',
    500: '#5f123b',
    950: '#000000',
  },
}
SCSS
$custom: #5f123b;
$custom-light: #905970;
$custom-dark: #000000;
JSON
{
  "hex": "#5f123b",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 328.052,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33222,
    "c": 0.11609,
    "h": 353
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#5F123B
secondary
#369763
accent
#EB8E3D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F123B

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

Preview Lab → · Contrast checker → · Palette generator →

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