#5F122D#5F122D

#5F122D is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.111 H 4.9°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#5F122D
RGBrgb(95, 18, 45)
HSLhsl(339, 68%, 22%)
HSVhsv(339, 81%, 37%)
CMYKcmyk(0%, 81.1%, 52.6%, 62.7%)
CIE-LABlab(20.27, 36.01, 3.58)
CIE-LCHlch(20.27, 36.19, 5.68°)
OKLaboklab(32.7% 0.1101 0.0095)
OKLCHoklch(32.7% 0.111 4.9)
XYZxyz(5.4097, 3.0557, 2.7871)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F122D #125F44
analogous
#5F1254 #5F122D #5F1D12
triadic
#5F122D #2D5F12 #122D5F
tetradic
#5F122D #545F12 #125F44 #1D125F
square
#5F122D #545F12 #125F44 #1D125F
split-complementary
#5F122D #125F1D #12545F
monochromatic
#1A050C #2C0815 #5F122D #921C45 #C6255E

Accessibility & contrast

On white

13.04
#5F122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F122D
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F122D#FFFFFF#000000##FFFFFF
##5F122D1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272E
Deuteranopia (green-blind)
#39362B
Tritanopia (blue-blind)
#68021E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f122d;
/* rgb */ color: rgb(95, 18, 45);
/* oklch */ color: oklch(32.7% 0.111 4.9);
Tailwind
colors: {
  custom: {
    50: '#915865',
    500: '#5f122d',
    950: '#000000',
  },
}
SCSS
$custom: #5f122d;
$custom-light: #915865;
$custom-dark: #000000;
JSON
{
  "hex": "#5f122d",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 338.961,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32699,
    "c": 0.11055,
    "h": 4.9
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#5F122D
secondary
#369775
accent
#EBAE3D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F122D

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

Preview Lab → · Contrast checker → · Palette generator →

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