#5B243B#5B243B

#5B243B is a dark, moderate pink. Relative luminance 0.038; OKLCH L 34.7% C 0.085 H 356.3°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#5B243B
RGBrgb(91, 36, 59)
HSLhsl(335, 43%, 25%)
HSVhsv(335, 60%, 36%)
CMYKcmyk(0%, 60.4%, 35.2%, 64.3%)
CIE-LABlab(23.01, 27.98, -2.25)
CIE-LCHlch(23.01, 28.07, 355.41°)
OKLaboklab(34.74% 0.0851 -0.0055)
OKLCHoklch(34.74% 0.085 356.3)
XYZxyz(5.7350, 3.8022, 4.5687)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B243B #245B44
analogous
#5B2457 #5B243B #5B2924
triadic
#5B243B #3B5B24 #243B5B
tetradic
#5B243B #575B24 #245B44 #29245B
square
#5B243B #575B24 #245B44 #29245B
split-complementary
#5B243B #245B29 #24575B
monochromatic
#16090E #2F131F #5B243B #873557 #B34774

Accessibility & contrast

On white

11.93
#5B243B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5B243B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B243B
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B243B#FFFFFF#000000##FFFFFF
##5B243B1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C313C
Deuteranopia (green-blind)
#3B3B3A
Tritanopia (blue-blind)
#62202D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5b243b;
/* rgb */ color: rgb(91, 36, 59);
/* oklch */ color: oklch(34.7% 0.085 356.3);
Tailwind
colors: {
  custom: {
    50: '#8c6170',
    500: '#5b243b',
    950: '#000000',
  },
}
SCSS
$custom: #5b243b;
$custom-light: #8c6170;
$custom-dark: #000000;
JSON
{
  "hex": "#5b243b",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 59
  },
  "hsl": {
    "h": 334.909,
    "s": 43.307,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34739,
    "c": 0.08529,
    "h": 356.3
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

primary
#5B243B
secondary
#4C8F73
accent
#D39E55
background
#F8F5F6
surface
#F0EAEC
border
#CBC6C7
text
#0C0507
muted
#7D797A

Preview Lab

Preview with #5B243B

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

Preview Lab → · Contrast checker → · Palette generator →

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