#952581#952581

#952581 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.177 H 336.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#952581
RGBrgb(149, 37, 129)
HSLhsl(311, 60%, 36%)
HSVhsv(311, 75%, 58%)
CMYKcmyk(0%, 75.2%, 13.4%, 41.6%)
CIE-LABlab(36.55, 55.29, -26.15)
CIE-LCHlch(36.55, 61.16, 334.69°)
OKLaboklab(47.65% 0.1623 -0.0712)
OKLCHoklch(47.65% 0.177 336.3)
XYZxyz(17.0187, 9.2992, 21.6632)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952581 #259539
analogous
#712595 #952581 #952549
triadic
#952581 #819525 #258195
tetradic
#952581 #957125 #259539 #254995
square
#952581 #957125 #259539 #254995
split-complementary
#952581 #499525 #259571
monochromatic
#330D2C #641957 #952581 #C631AB #D75EC1

Accessibility & contrast

On white

7.34
#952581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#952581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952581
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952581#FFFFFF#000000##FFFFFF
##9525811.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B84
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#9D2D50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #952581;
/* rgb */ color: rgb(149, 37, 129);
/* oklch */ color: oklch(47.7% 0.177 336.3);
Tailwind
colors: {
  custom: {
    50: '#b86ba6',
    500: '#952581',
    950: '#000000',
  },
}
SCSS
$custom: #952581;
$custom-light: #b86ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#952581",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 129
  },
  "hsl": {
    "h": 310.714,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47652,
    "c": 0.17729,
    "h": 336.3
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#952581
secondary
#5ABC6B
accent
#E36144
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #952581

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

Preview Lab → · Contrast checker → · Palette generator →

#952581 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva