#5F233B#5F233B

#5F233B is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.3% C 0.092 H 357.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#5F233B
RGBrgb(95, 35, 59)
HSLhsl(336, 46%, 25%)
HSVhsv(336, 63%, 37%)
CMYKcmyk(0%, 63.2%, 37.9%, 62.7%)
CIE-LABlab(23.51, 29.99, -1.42)
CIE-LCHlch(23.51, 30.03, 357.28°)
OKLaboklab(35.25% 0.0915 -0.0033)
OKLCHoklch(35.25% 0.092 357.9)
XYZxyz(6.1101, 3.9514, 4.5777)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F233B #235F47
analogous
#5F2359 #5F233B #5F2923
triadic
#5F233B #3B5F23 #233B5F
tetradic
#5F233B #595F23 #235F47 #29235F
square
#5F233B #595F23 #235F47 #29235F
split-complementary
#5F233B #235F29 #23595F
monochromatic
#16080E #32131F #5F233B #8C3357 #B84473

Accessibility & contrast

On white

11.73
#5F233B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5F233B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F233B
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F233B#FFFFFF#000000##FFFFFF
##5F233B1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D313C
Deuteranopia (green-blind)
#3D3C3A
Tritanopia (blue-blind)
#671E2C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f233b;
/* rgb */ color: rgb(95, 35, 59);
/* oklch */ color: oklch(35.3% 0.092 357.9);
Tailwind
colors: {
  custom: {
    50: '#8f6170',
    500: '#5f233b',
    950: '#000000',
  },
}
SCSS
$custom: #5f233b;
$custom-light: #8f6170;
$custom-dark: #000000;
JSON
{
  "hex": "#5f233b",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 336,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35253,
    "c": 0.09151,
    "h": 357.9
  },
  "luminance": 0.03951
}

Semantic roles & 50–950 ramp

primary
#5F233B
secondary
#4B9376
accent
#D6A152
background
#F9F5F6
surface
#F1EAEC
border
#CBC6C7
text
#0D0507
muted
#7E797A

Preview Lab

Preview with #5F233B

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

Preview Lab → · Contrast checker → · Palette generator →

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