#5F233C#5F233C

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

Color values

HEX#5F233C
RGBrgb(95, 35, 60)
HSLhsl(335, 46%, 25%)
HSVhsv(335, 63%, 37%)
CMYKcmyk(0%, 63.2%, 36.8%, 62.7%)
CIE-LABlab(23.54, 30.13, -2.05)
CIE-LCHlch(23.54, 30.20, 356.10°)
OKLaboklab(35.29% 0.0918 -0.005)
OKLCHoklch(35.29% 0.092 356.9)
XYZxyz(6.1363, 3.9618, 4.7156)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F233C #235F46
analogous
#5F235A #5F233C #5F2823
triadic
#5F233C #3C5F23 #233C5F
tetradic
#5F233C #5A5F23 #235F46 #28235F
square
#5F233C #5A5F23 #235F46 #28235F
split-complementary
#5F233C #235F28 #235A5F
monochromatic
#16080E #321320 #5F233C #8C3358 #B84474

Accessibility & contrast

On white

11.72
#5F233C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F233C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F233C#FFFFFF#000000##FFFFFF
##5F233C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D313D
Deuteranopia (green-blind)
#3D3C3B
Tritanopia (blue-blind)
#671F2D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f233c;
/* rgb */ color: rgb(95, 35, 60);
/* oklch */ color: oklch(35.3% 0.092 356.9);
Tailwind
colors: {
  custom: {
    50: '#8f6171',
    500: '#5f233c',
    950: '#000000',
  },
}
SCSS
$custom: #5f233c;
$custom-light: #8f6171;
$custom-dark: #000000;
JSON
{
  "hex": "#5f233c",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 60
  },
  "hsl": {
    "h": 335,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35291,
    "c": 0.09197,
    "h": 356.9
  },
  "luminance": 0.03961
}

Semantic roles & 50–950 ramp

primary
#5F233C
secondary
#4B9375
accent
#D69F52
background
#F9F5F6
surface
#F1EAEC
border
#CBC6C7
text
#0D0507
muted
#7E797A

Preview Lab

Preview with #5F233C

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

Preview Lab → · Contrast checker → · Palette generator →

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