#5B243F#5B243F

#5B243F is a dark, moderate pink. Relative luminance 0.038; OKLCH L 34.9% C 0.087 H 351.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#5B243F
RGBrgb(91, 36, 63)
HSLhsl(331, 43%, 25%)
HSVhsv(331, 60%, 36%)
CMYKcmyk(0%, 60.4%, 30.8%, 64.3%)
CIE-LABlab(23.15, 28.57, -4.76)
CIE-LCHlch(23.15, 28.96, 350.54°)
OKLaboklab(34.9% 0.0866 -0.0123)
OKLCHoklch(34.9% 0.087 351.9)
XYZxyz(5.8427, 3.8453, 5.1362)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B243F #245B40
analogous
#5B245B #5B243F #5B2424
triadic
#5B243F #3F5B24 #243F5B
tetradic
#5B243F #5B5B24 #245B40 #24245B
square
#5B243F #5B5B24 #245B40 #24245B
split-complementary
#5B243F #245B24 #245B5B
monochromatic
#16090F #2F1321 #5B243F #87355D #B3477C

Accessibility & contrast

On white

11.87
#5B243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5B243F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B243F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B243F#FFFFFF#000000##FFFFFF
##5B243F1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3140
Deuteranopia (green-blind)
#3A3B3E
Tritanopia (blue-blind)
#62212E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5b243f;
/* rgb */ color: rgb(91, 36, 63);
/* oklch */ color: oklch(34.9% 0.087 351.9);
Tailwind
colors: {
  custom: {
    50: '#8c6174',
    500: '#5b243f',
    950: '#000000',
  },
}
SCSS
$custom: #5b243f;
$custom-light: #8c6174;
$custom-dark: #000000;
JSON
{
  "hex": "#5b243f",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 330.545,
    "s": 43.307,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34896,
    "c": 0.08744,
    "h": 351.9
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#5B243F
secondary
#4C8F6E
accent
#D39555
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0508
muted
#7D797B

Preview Lab

Preview with #5B243F

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

Preview Lab → · Contrast checker → · Palette generator →

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