#5F112A#5F112A

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

Color values

HEX#5F112A
RGBrgb(95, 17, 42)
HSLhsl(341, 70%, 22%)
HSVhsv(341, 82%, 37%)
CMYKcmyk(0%, 82.1%, 55.8%, 62.7%)
CIE-LABlab(20.05, 36.09, 5.40)
CIE-LCHlch(20.05, 36.49, 8.51°)
OKLaboklab(32.51% 0.11 0.0139)
OKLCHoklch(32.51% 0.111 7.2)
XYZxyz(5.3382, 3.0017, 2.4883)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F112A #115F46
analogous
#5F1151 #5F112A #5F1F11
triadic
#5F112A #2A5F11 #112A5F
tetradic
#5F112A #515F11 #115F46 #1F115F
square
#5F112A #515F11 #115F46 #1F115F
split-complementary
#5F112A #115F1F #11515F
monochromatic
#1A050B #2B0813 #5F112A #931A41 #C72458

Accessibility & contrast

On white

13.12
#5F112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F112A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F112A#FFFFFF#000000##FFFFFF
##5F112A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25262A
Deuteranopia (green-blind)
#393628
Tritanopia (blue-blind)
#68001C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f112a;
/* rgb */ color: rgb(95, 17, 42);
/* oklch */ color: oklch(32.5% 0.111 7.2);
Tailwind
colors: {
  custom: {
    50: '#915863',
    500: '#5f112a',
    950: '#000000',
  },
}
SCSS
$custom: #5f112a;
$custom-light: #915863;
$custom-dark: #000000;
JSON
{
  "hex": "#5f112a",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 340.769,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32512,
    "c": 0.11091,
    "h": 7.2
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#5F112A
secondary
#349878
accent
#ECB43B
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #5F112A

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

Preview Lab → · Contrast checker → · Palette generator →

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