#5F233D#5F233D

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

Color values

HEX#5F233D
RGBrgb(95, 35, 61)
HSLhsl(334, 46%, 25%)
HSVhsv(334, 63%, 37%)
CMYKcmyk(0%, 63.2%, 35.8%, 62.7%)
CIE-LABlab(23.58, 30.27, -2.68)
CIE-LCHlch(23.58, 30.39, 354.93°)
OKLaboklab(35.33% 0.0922 -0.0067)
OKLCHoklch(35.33% 0.092 355.9)
XYZxyz(6.1630, 3.9725, 4.8562)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F233D #235F45
analogous
#5F235B #5F233D #5F2723
triadic
#5F233D #3D5F23 #233D5F
tetradic
#5F233D #5B5F23 #235F45 #27235F
square
#5F233D #5B5F23 #235F45 #27235F
split-complementary
#5F233D #235F27 #235B5F
monochromatic
#16080E #321320 #5F233D #8C335A #B84476

Accessibility & contrast

On white

11.70
#5F233D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F233D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F233D#FFFFFF#000000##FFFFFF
##5F233D1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C313E
Deuteranopia (green-blind)
#3C3C3C
Tritanopia (blue-blind)
#661F2D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f233d;
/* rgb */ color: rgb(95, 35, 61);
/* oklch */ color: oklch(35.3% 0.092 355.9);
Tailwind
colors: {
  custom: {
    50: '#8f6172',
    500: '#5f233d',
    950: '#000000',
  },
}
SCSS
$custom: #5f233d;
$custom-light: #8f6172;
$custom-dark: #000000;
JSON
{
  "hex": "#5f233d",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 61
  },
  "hsl": {
    "h": 334,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35329,
    "c": 0.09244,
    "h": 355.9
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#5F233D
secondary
#4B9374
accent
#D69D52
background
#F9F5F6
surface
#F1EAEC
border
#CBC6C7
text
#0D0508
muted
#7E797B

Preview Lab

Preview with #5F233D

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

Preview Lab → · Contrast checker → · Palette generator →

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