#5B0E25#5B0E25

#5B0E25 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.109 H 9.3°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#5B0E25
RGBrgb(91, 14, 37)
HSLhsl(342, 73%, 21%)
HSVhsv(342, 85%, 36%)
CMYKcmyk(0%, 84.6%, 59.3%, 64.3%)
CIE-LABlab(18.68, 35.40, 6.91)
CIE-LCHlch(18.68, 36.07, 11.05°)
OKLaboklab(31.3% 0.1076 0.0175)
OKLCHoklch(31.3% 0.109 9.3)
XYZxyz(4.8058, 2.6725, 2.0127)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E25 #0E5B44
analogous
#5B0E4B #5B0E25 #5B1D0E
triadic
#5B0E25 #255B0E #0E255B
tetradic
#5B0E25 #4B5B0E #0E5B44 #1D0E5B
square
#5B0E25 #4B5B0E #0E5B44 #1D0E5B
split-complementary
#5B0E25 #0E5B1D #0E4B5B
monochromatic
#1B040B #26060F #5B0E25 #90163B #C51E50

Accessibility & contrast

On white

13.69
#5B0E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5B0E25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0E25
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E25#FFFFFF#000000##FFFFFF
##5B0E251.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232425
Deuteranopia (green-blind)
#373323
Tritanopia (blue-blind)
#640018
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b0e25;
/* rgb */ color: rgb(91, 14, 37);
/* oklch */ color: oklch(31.3% 0.109 9.3);
Tailwind
colors: {
  custom: {
    50: '#8e565f',
    500: '#5b0e25',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e25;
$custom-light: #8e565f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e25",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 37
  },
  "hsl": {
    "h": 342.078,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31301,
    "c": 0.10899,
    "h": 9.3
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#5B0E25
secondary
#309577
accent
#F0B938
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B0E25

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

Preview Lab → · Contrast checker → · Palette generator →

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