#5D122D#5D122D

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

Color values

HEX#5D122D
RGBrgb(93, 18, 45)
HSLhsl(338, 68%, 22%)
HSVhsv(338, 81%, 36%)
CMYKcmyk(0%, 80.6%, 51.6%, 63.5%)
CIE-LABlab(19.84, 35.38, 2.92)
CIE-LCHlch(19.84, 35.50, 4.72°)
OKLaboklab(32.31% 0.1083 0.0078)
OKLCHoklch(32.31% 0.109 4.1)
XYZxyz(5.2046, 2.9499, 2.7774)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D122D #125D42
analogous
#5D1253 #5D122D #5D1D12
triadic
#5D122D #2D5D12 #122D5D
tetradic
#5D122D #535D12 #125D42 #1D125D
square
#5D122D #535D12 #125D42 #1D125D
split-complementary
#5D122D #125D1D #12535D
monochromatic
#1A050C #2A0814 #5D122D #901C46 #C4265F

Accessibility & contrast

On white

13.21
#5D122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D122D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D122D#FFFFFF#000000##FFFFFF
##5D122D1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272E
Deuteranopia (green-blind)
#38352B
Tritanopia (blue-blind)
#66031E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d122d;
/* rgb */ color: rgb(93, 18, 45);
/* oklch */ color: oklch(32.3% 0.109 4.1);
Tailwind
colors: {
  custom: {
    50: '#8f5865',
    500: '#5d122d',
    950: '#000000',
  },
}
SCSS
$custom: #5d122d;
$custom-light: #8f5865;
$custom-dark: #000000;
JSON
{
  "hex": "#5d122d",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 338.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3231,
    "c": 0.10855,
    "h": 4.1
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#5D122D
secondary
#359573
accent
#EAAC3D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5D122D

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

Preview Lab → · Contrast checker → · Palette generator →

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