#5F112F#5F112F

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

Color values

HEX#5F112F
RGBrgb(95, 17, 47)
HSLhsl(337, 70%, 22%)
HSVhsv(337, 82%, 37%)
CMYKcmyk(0%, 82.1%, 50.5%, 62.7%)
CIE-LABlab(20.20, 36.56, 2.08)
CIE-LCHlch(20.20, 36.62, 3.26°)
OKLaboklab(32.67% 0.1121 0.0057)
OKLCHoklch(32.67% 0.112 2.9)
XYZxyz(5.4333, 3.0398, 2.9894)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F112F #115F41
analogous
#5F1156 #5F112F #5F1A11
triadic
#5F112F #2F5F11 #112F5F
tetradic
#5F112F #565F11 #115F41 #1A115F
square
#5F112F #565F11 #115F41 #1A115F
split-complementary
#5F112F #115F1A #11565F
monochromatic
#1A050D #2B0815 #5F112F #931A49 #C72462

Accessibility & contrast

On white

13.06
#5F112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F112F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F112F#FFFFFF#000000##FFFFFF
##5F112F1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#39362D
Tritanopia (blue-blind)
#68011E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f112f;
/* rgb */ color: rgb(95, 17, 47);
/* oklch */ color: oklch(32.7% 0.112 2.9);
Tailwind
colors: {
  custom: {
    50: '#915867',
    500: '#5f112f',
    950: '#000000',
  },
}
SCSS
$custom: #5f112f;
$custom-light: #915867;
$custom-dark: #000000;
JSON
{
  "hex": "#5f112f",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 336.923,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32673,
    "c": 0.11223,
    "h": 2.9
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#5F112F
secondary
#349871
accent
#ECA83B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F112F

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

Preview Lab → · Contrast checker → · Palette generator →

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