#5D122C#5D122C

#5D122C is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.108 H 5.0°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#5D122C
RGBrgb(93, 18, 44)
HSLhsl(339, 68%, 22%)
HSVhsv(339, 81%, 36%)
CMYKcmyk(0%, 80.6%, 52.7%, 63.5%)
CIE-LABlab(19.81, 35.28, 3.59)
CIE-LCHlch(19.81, 35.46, 5.80°)
OKLaboklab(32.28% 0.1079 0.0095)
OKLCHoklch(32.28% 0.108 5)
XYZxyz(5.1856, 2.9423, 2.6772)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D122C #125D43
analogous
#5D1252 #5D122C #5D1E12
triadic
#5D122C #2C5D12 #122C5D
tetradic
#5D122C #525D12 #125D43 #1E125D
square
#5D122C #525D12 #125D43 #1E125D
split-complementary
#5D122C #125D1E #12525D
monochromatic
#1A050C #2A0814 #5D122C #901C44 #C4265D

Accessibility & contrast

On white

13.22
#5D122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D122C
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D122C#FFFFFF#000000##FFFFFF
##5D122C1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262D
Deuteranopia (green-blind)
#38352A
Tritanopia (blue-blind)
#66031D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d122c;
/* rgb */ color: rgb(93, 18, 44);
/* oklch */ color: oklch(32.3% 0.108 5.0);
Tailwind
colors: {
  custom: {
    50: '#8f5864',
    500: '#5d122c',
    950: '#000000',
  },
}
SCSS
$custom: #5d122c;
$custom-light: #8f5864;
$custom-dark: #000000;
JSON
{
  "hex": "#5d122c",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 339.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32278,
    "c": 0.10828,
    "h": 5
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#5D122C
secondary
#359574
accent
#EAAE3D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5D122C

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

Preview Lab → · Contrast checker → · Palette generator →

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