#5B0F25#5B0F25

#5B0F25 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.108 H 9.6°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#5B0F25
RGBrgb(91, 15, 37)
HSLhsl(343, 72%, 21%)
HSVhsv(343, 84%, 36%)
CMYKcmyk(0%, 83.5%, 59.3%, 64.3%)
CIE-LABlab(18.80, 35.06, 7.08)
CIE-LCHlch(18.80, 35.77, 11.41°)
OKLaboklab(31.39% 0.1065 0.0179)
OKLCHoklch(31.39% 0.108 9.6)
XYZxyz(4.8196, 2.7001, 2.0173)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F25 #0F5B45
analogous
#5B0F4B #5B0F25 #5B1F0F
triadic
#5B0F25 #255B0F #0F255B
tetradic
#5B0F25 #4B5B0F #0F5B45 #1F0F5B
square
#5B0F25 #4B5B0F #0F5B45 #1F0F5B
split-complementary
#5B0F25 #0F5B1F #0F4B5B
monochromatic
#1A040B #260610 #5B0F25 #90183A #C42050

Accessibility & contrast

On white

13.64
#5B0F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5B0F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F25
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F25#FFFFFF#000000##FFFFFF
##5B0F251.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b0f25;
/* rgb */ color: rgb(91, 15, 37);
/* oklch */ color: oklch(31.4% 0.108 9.6);
Tailwind
colors: {
  custom: {
    50: '#8e565f',
    500: '#5b0f25',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f25;
$custom-light: #8e565f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f25",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 37
  },
  "hsl": {
    "h": 342.632,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31389,
    "c": 0.10798,
    "h": 9.6
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#5B0F25
secondary
#319578
accent
#EEBA39
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B0F25

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

Preview Lab → · Contrast checker → · Palette generator →

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