#5F112B#5F112B

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

Color values

HEX#5F112B
RGBrgb(95, 17, 43)
HSLhsl(340, 70%, 22%)
HSVhsv(340, 82%, 37%)
CMYKcmyk(0%, 82.1%, 54.7%, 62.7%)
CIE-LABlab(20.08, 36.18, 4.73)
CIE-LCHlch(20.08, 36.49, 7.45°)
OKLaboklab(32.54% 0.1105 0.0123)
OKLCHoklch(32.54% 0.111 6.4)
XYZxyz(5.3563, 3.0090, 2.5838)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F112B #115F45
analogous
#5F1152 #5F112B #5F1E11
triadic
#5F112B #2B5F11 #112B5F
tetradic
#5F112B #525F11 #115F45 #1E115F
square
#5F112B #525F11 #115F45 #1E115F
split-complementary
#5F112B #115F1E #11525F
monochromatic
#1A050C #2B0814 #5F112B #931A42 #C7245A

Accessibility & contrast

On white

13.11
#5F112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F112B
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F112B#FFFFFF#000000##FFFFFF
##5F112B1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272C
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#68001C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f112b;
/* rgb */ color: rgb(95, 17, 43);
/* oklch */ color: oklch(32.5% 0.111 6.4);
Tailwind
colors: {
  custom: {
    50: '#915864',
    500: '#5f112b',
    950: '#000000',
  },
}
SCSS
$custom: #5f112b;
$custom-light: #915864;
$custom-dark: #000000;
JSON
{
  "hex": "#5f112b",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 340,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32543,
    "c": 0.11113,
    "h": 6.4
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#5F112B
secondary
#349876
accent
#ECB13B
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F112B

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

Preview Lab → · Contrast checker → · Palette generator →

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