#5F112C#5F112C

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

Color values

HEX#5F112C
RGBrgb(95, 17, 44)
HSLhsl(339, 70%, 22%)
HSVhsv(339, 82%, 37%)
CMYKcmyk(0%, 82.1%, 53.7%, 62.7%)
CIE-LABlab(20.11, 36.27, 4.07)
CIE-LCHlch(20.11, 36.50, 6.40°)
OKLaboklab(32.57% 0.1109 0.0107)
OKLCHoklch(32.57% 0.111 5.5)
XYZxyz(5.3749, 3.0164, 2.6816)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F112C #115F44
analogous
#5F1153 #5F112C #5F1D11
triadic
#5F112C #2C5F11 #112C5F
tetradic
#5F112C #535F11 #115F44 #1D115F
square
#5F112C #535F11 #115F44 #1D115F
split-complementary
#5F112C #115F1D #11535F
monochromatic
#1A050C #2B0814 #5F112C #931A44 #C7245C

Accessibility & contrast

On white

13.10
#5F112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F112C
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F112C#FFFFFF#000000##FFFFFF
##5F112C1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272D
Deuteranopia (green-blind)
#39362A
Tritanopia (blue-blind)
#68001D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f112c;
/* rgb */ color: rgb(95, 17, 44);
/* oklch */ color: oklch(32.6% 0.111 5.5);
Tailwind
colors: {
  custom: {
    50: '#915864',
    500: '#5f112c',
    950: '#000000',
  },
}
SCSS
$custom: #5f112c;
$custom-light: #915864;
$custom-dark: #000000;
JSON
{
  "hex": "#5f112c",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 339.231,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32574,
    "c": 0.11138,
    "h": 5.5
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#5F112C
secondary
#349875
accent
#ECAF3B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F112C

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

Preview Lab → · Contrast checker → · Palette generator →

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