#5F264E#5F264E

#5F264E is a dark, moderate pink. Relative luminance 0.044; OKLCH L 36.5% C 0.098 H 340.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#5F264E
RGBrgb(95, 38, 78)
HSLhsl(318, 43%, 26%)
HSVhsv(318, 60%, 37%)
CMYKcmyk(0%, 60%, 17.9%, 62.7%)
CIE-LABlab(24.86, 31.33, -12.23)
CIE-LCHlch(24.86, 33.64, 338.67°)
OKLaboklab(36.5% 0.0927 -0.0328)
OKLCHoklch(36.5% 0.098 340.5)
XYZxyz(6.7877, 4.3697, 7.6922)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F264E #265F37
analogous
#53265F #5F264E #5F2631
triadic
#5F264E #4E5F26 #264E5F
tetradic
#5F264E #5F5326 #265F37 #26315F
square
#5F264E #5F5326 #265F37 #26315F
split-complementary
#5F264E #315F26 #265F53
monochromatic
#160912 #33152A #5F264E #8B3772 #B64996

Accessibility & contrast

On white

11.21
#5F264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5F264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F264E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F264E#FFFFFF#000000##FFFFFF
##5F264E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354F
Deuteranopia (green-blind)
#393E4D
Tritanopia (blue-blind)
#642736
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5f264e;
/* rgb */ color: rgb(95, 38, 78);
/* oklch */ color: oklch(36.5% 0.098 340.5);
Tailwind
colors: {
  custom: {
    50: '#8e637f',
    500: '#5f264e',
    950: '#000000',
  },
}
SCSS
$custom: #5f264e;
$custom-light: #8e637f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f264e",
  "rgb": {
    "r": 95,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 317.895,
    "s": 42.857,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36502,
    "c": 0.09836,
    "h": 340.5
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#5F264E
secondary
#4F9263
accent
#D37B55
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C050A
muted
#7D7A7C

Preview Lab

Preview with #5F264E

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

Preview Lab → · Contrast checker → · Palette generator →

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