#5F233A#5F233A

#5F233A is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.2% C 0.091 H 358.9°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#5F233A
RGBrgb(95, 35, 58)
HSLhsl(337, 46%, 25%)
HSVhsv(337, 63%, 37%)
CMYKcmyk(0%, 63.2%, 38.9%, 62.7%)
CIE-LABlab(23.48, 29.86, -0.79)
CIE-LCHlch(23.48, 29.87, 358.48°)
OKLaboklab(35.22% 0.0911 -0.0017)
OKLCHoklch(35.22% 0.091 358.9)
XYZxyz(6.0844, 3.9411, 4.4424)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F233A #235F48
analogous
#5F2358 #5F233A #5F2A23
triadic
#5F233A #3A5F23 #233A5F
tetradic
#5F233A #585F23 #235F48 #2A235F
square
#5F233A #585F23 #235F48 #2A235F
split-complementary
#5F233A #235F2A #23585F
monochromatic
#16080E #32131F #5F233A #8C3355 #B84471

Accessibility & contrast

On white

11.74
#5F233A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F233A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F233A#FFFFFF#000000##FFFFFF
##5F233A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f233a;
/* rgb */ color: rgb(95, 35, 58);
/* oklch */ color: oklch(35.2% 0.091 358.9);
Tailwind
colors: {
  custom: {
    50: '#8f6170',
    500: '#5f233a',
    950: '#000000',
  },
}
SCSS
$custom: #5f233a;
$custom-light: #8f6170;
$custom-dark: #000000;
JSON
{
  "hex": "#5f233a",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 58
  },
  "hsl": {
    "h": 337,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35217,
    "c": 0.09109,
    "h": 358.9
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#5F233A
secondary
#4B9377
accent
#D6A352
background
#F9F5F6
surface
#F1EAEC
border
#CBC6C7
text
#0D0507
muted
#7E797A

Preview Lab

Preview with #5F233A

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

Preview Lab → · Contrast checker → · Palette generator →

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