#5B233F#5B233F

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

Color values

HEX#5B233F
RGBrgb(91, 35, 63)
HSLhsl(330, 44%, 25%)
HSVhsv(330, 62%, 36%)
CMYKcmyk(0%, 61.5%, 30.8%, 64.3%)
CIE-LABlab(22.95, 29.11, -5.06)
CIE-LCHlch(22.95, 29.55, 350.13°)
OKLaboklab(34.74% 0.0882 -0.0131)
OKLCHoklch(34.74% 0.089 351.6)
XYZxyz(5.8129, 3.7856, 5.1262)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B233F #235B3F
analogous
#5B235B #5B233F #5B2323
triadic
#5B233F #3F5B23 #233F5B
tetradic
#5B233F #5B5B23 #235B3F #23235B
square
#5B233F #5B5B23 #235B3F #23235B
split-complementary
#5B233F #235B23 #235B5B
monochromatic
#16090F #2F1220 #5B233F #87345E #B3457C

Accessibility & contrast

On white

11.95
#5B233F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B233F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B233F#FFFFFF#000000##FFFFFF
##5B233F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3040
Deuteranopia (green-blind)
#393A3E
Tritanopia (blue-blind)
#62202E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5b233f;
/* rgb */ color: rgb(91, 35, 63);
/* oklch */ color: oklch(34.7% 0.089 351.6);
Tailwind
colors: {
  custom: {
    50: '#8c6174',
    500: '#5b233f',
    950: '#000000',
  },
}
SCSS
$custom: #5b233f;
$custom-light: #8c6174;
$custom-dark: #000000;
JSON
{
  "hex": "#5b233f",
  "rgb": {
    "r": 91,
    "g": 35,
    "b": 63
  },
  "hsl": {
    "h": 330,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34745,
    "c": 0.08919,
    "h": 351.6
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#5B233F
secondary
#4B8F6D
accent
#D49454
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0508
muted
#7D797B

Preview Lab

Preview with #5B233F

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

Preview Lab → · Contrast checker → · Palette generator →

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