#5F122A#5F122A

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

Color values

HEX#5F122A
RGBrgb(95, 18, 42)
HSLhsl(341, 68%, 22%)
HSVhsv(341, 81%, 37%)
CMYKcmyk(0%, 81.1%, 55.8%, 62.7%)
CIE-LABlab(20.18, 35.73, 5.58)
CIE-LCHlch(20.18, 36.16, 8.87°)
OKLaboklab(32.61% 0.1089 0.0144)
OKLCHoklch(32.61% 0.11 7.5)
XYZxyz(5.3540, 3.0334, 2.4936)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F122A #125F47
analogous
#5F1251 #5F122A #5F2112
triadic
#5F122A #2A5F12 #122A5F
tetradic
#5F122A #515F12 #125F47 #21125F
square
#5F122A #515F12 #125F47 #21125F
split-complementary
#5F122A #125F21 #12515F
monochromatic
#1A050B #2C0813 #5F122A #921C41 #C62557

Accessibility & contrast

On white

13.07
#5F122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F122A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F122A#FFFFFF#000000##FFFFFF
##5F122A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#3A3628
Tritanopia (blue-blind)
#68001C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f122a;
/* rgb */ color: rgb(95, 18, 42);
/* oklch */ color: oklch(32.6% 0.110 7.5);
Tailwind
colors: {
  custom: {
    50: '#915863',
    500: '#5f122a',
    950: '#000000',
  },
}
SCSS
$custom: #5f122a;
$custom-light: #915863;
$custom-dark: #000000;
JSON
{
  "hex": "#5f122a",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 341.299,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32605,
    "c": 0.10983,
    "h": 7.5
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#5F122A
secondary
#369779
accent
#EBB53D
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F122A

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

Preview Lab → · Contrast checker → · Palette generator →

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