#5F122E#5F122E

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

Color values

HEX#5F122E
RGBrgb(95, 18, 46)
HSLhsl(338, 68%, 22%)
HSVhsv(338, 81%, 37%)
CMYKcmyk(0%, 81.1%, 51.6%, 62.7%)
CIE-LABlab(20.30, 36.11, 2.92)
CIE-LCHlch(20.30, 36.23, 4.63°)
OKLaboklab(32.73% 0.1105 0.0078)
OKLCHoklch(32.73% 0.111 4.1)
XYZxyz(5.4292, 3.0635, 2.8897)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F122E #125F43
analogous
#5F1255 #5F122E #5F1D12
triadic
#5F122E #2E5F12 #122E5F
tetradic
#5F122E #555F12 #125F43 #1D125F
square
#5F122E #555F12 #125F43 #1D125F
split-complementary
#5F122E #125F1D #12555F
monochromatic
#1A050C #2C0815 #5F122E #921C47 #C62560

Accessibility & contrast

On white

13.02
#5F122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F122E
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F122E#FFFFFF#000000##FFFFFF
##5F122E1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f122e;
/* rgb */ color: rgb(95, 18, 46);
/* oklch */ color: oklch(32.7% 0.111 4.1);
Tailwind
colors: {
  custom: {
    50: '#915866',
    500: '#5f122e',
    950: '#000000',
  },
}
SCSS
$custom: #5f122e;
$custom-light: #915866;
$custom-dark: #000000;
JSON
{
  "hex": "#5f122e",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 338.182,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32732,
    "c": 0.11082,
    "h": 4.1
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#5F122E
secondary
#369774
accent
#EBAC3D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F122E

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

Preview Lab → · Contrast checker → · Palette generator →

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