#5D122F#5D122F

#5D122F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.109 H 2.4°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#5D122F
RGBrgb(93, 18, 47)
HSLhsl(337, 68%, 22%)
HSVhsv(337, 81%, 36%)
CMYKcmyk(0%, 80.6%, 49.5%, 63.5%)
CIE-LABlab(19.91, 35.58, 1.60)
CIE-LCHlch(19.91, 35.62, 2.58°)
OKLaboklab(32.38% 0.1091 0.0045)
OKLCHoklch(32.38% 0.109 2.4)
XYZxyz(5.2440, 2.9657, 2.9851)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D122F #125D40
analogous
#5D1255 #5D122F #5D1B12
triadic
#5D122F #2F5D12 #122F5D
tetradic
#5D122F #555D12 #125D40 #1B125D
square
#5D122F #555D12 #125D40 #1B125D
split-complementary
#5D122F #125D1B #12555D
monochromatic
#1A050D #2A0815 #5D122F #901C49 #C42663

Accessibility & contrast

On white

13.18
#5D122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5D122F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D122F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D122F#FFFFFF#000000##FFFFFF
##5D122F1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232730
Deuteranopia (green-blind)
#38352D
Tritanopia (blue-blind)
#66041E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d122f;
/* rgb */ color: rgb(93, 18, 47);
/* oklch */ color: oklch(32.4% 0.109 2.4);
Tailwind
colors: {
  custom: {
    50: '#8f5867',
    500: '#5d122f',
    950: '#000000',
  },
}
SCSS
$custom: #5d122f;
$custom-light: #8f5867;
$custom-dark: #000000;
JSON
{
  "hex": "#5d122f",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 336.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32378,
    "c": 0.10916,
    "h": 2.4
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#5D122F
secondary
#359570
accent
#EAA83D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D122F

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

Preview Lab → · Contrast checker → · Palette generator →

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