#5F122B#5F122B

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

Color values

HEX#5F122B
RGBrgb(95, 18, 43)
HSLhsl(341, 68%, 22%)
HSVhsv(341, 81%, 37%)
CMYKcmyk(0%, 81.1%, 54.7%, 62.7%)
CIE-LABlab(20.21, 35.82, 4.91)
CIE-LCHlch(20.21, 36.16, 7.81°)
OKLaboklab(32.64% 0.1093 0.0128)
OKLCHoklch(32.64% 0.11 6.7)
XYZxyz(5.3721, 3.0407, 2.5891)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F122B #125F46
analogous
#5F1252 #5F122B #5F1F12
triadic
#5F122B #2B5F12 #122B5F
tetradic
#5F122B #525F12 #125F46 #1F125F
square
#5F122B #525F12 #125F46 #1F125F
split-complementary
#5F122B #125F1F #12525F
monochromatic
#1A050C #2C0814 #5F122B #921C42 #C6255A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F122B#FFFFFF#000000##FFFFFF
##5F122B1.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)
#25272C
Deuteranopia (green-blind)
#3A3629
Tritanopia (blue-blind)
#68011D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f122b;
/* rgb */ color: rgb(95, 18, 43);
/* oklch */ color: oklch(32.6% 0.110 6.7);
Tailwind
colors: {
  custom: {
    50: '#915864',
    500: '#5f122b',
    950: '#000000',
  },
}
SCSS
$custom: #5f122b;
$custom-light: #915864;
$custom-dark: #000000;
JSON
{
  "hex": "#5f122b",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 340.519,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32636,
    "c": 0.11005,
    "h": 6.7
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#5F122B
secondary
#369778
accent
#EBB23D
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F122B

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

Preview Lab → · Contrast checker → · Palette generator →

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