#5F112D#5F112D

#5F112D is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.112 H 4.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#5F112D
RGBrgb(95, 17, 45)
HSLhsl(338, 70%, 22%)
HSVhsv(338, 82%, 37%)
CMYKcmyk(0%, 82.1%, 52.6%, 62.7%)
CIE-LABlab(20.14, 36.37, 3.40)
CIE-LCHlch(20.14, 36.53, 5.35°)
OKLaboklab(32.61% 0.1113 0.009)
OKLCHoklch(32.61% 0.112 4.6)
XYZxyz(5.3939, 3.0240, 2.7818)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F112D #115F43
analogous
#5F1154 #5F112D #5F1C11
triadic
#5F112D #2D5F11 #112D5F
tetradic
#5F112D #545F11 #115F43 #1C115F
square
#5F112D #545F11 #115F43 #1C115F
split-complementary
#5F112D #115F1C #11545F
monochromatic
#1A050C #2B0814 #5F112D #931A46 #C7245E

Accessibility & contrast

On white

13.09
#5F112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F112D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F112D#FFFFFF#000000##FFFFFF
##5F112D1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272E
Deuteranopia (green-blind)
#39362B
Tritanopia (blue-blind)
#68001D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f112d;
/* rgb */ color: rgb(95, 17, 45);
/* oklch */ color: oklch(32.6% 0.112 4.6);
Tailwind
colors: {
  custom: {
    50: '#915865',
    500: '#5f112d',
    950: '#000000',
  },
}
SCSS
$custom: #5f112d;
$custom-light: #915865;
$custom-dark: #000000;
JSON
{
  "hex": "#5f112d",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 338.462,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32607,
    "c": 0.11165,
    "h": 4.6
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#5F112D
secondary
#349874
accent
#ECAD3B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F112D

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

Preview Lab → · Contrast checker → · Palette generator →

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