#952181#952181

#952181 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.182 H 336.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#952181
RGBrgb(149, 33, 129)
HSLhsl(310, 64%, 36%)
HSVhsv(310, 78%, 58%)
CMYKcmyk(0%, 77.9%, 13.4%, 41.6%)
CIE-LABlab(36.11, 56.57, -26.85)
CIE-LCHlch(36.11, 62.61, 334.61°)
OKLaboklab(47.33% 0.1661 -0.0732)
OKLCHoklch(47.33% 0.182 336.2)
XYZxyz(16.9010, 9.0638, 21.6240)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952181 #219535
analogous
#6F2195 #952181 #952147
triadic
#952181 #819521 #218195
tetradic
#952181 #956F21 #219535 #214795
square
#952181 #956F21 #219535 #214795
split-complementary
#952181 #479521 #21956F
monochromatic
#310B2A #631656 #952181 #C72CAC #DA57C3

Accessibility & contrast

On white

7.47
#952181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#952181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952181
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952181#FFFFFF#000000##FFFFFF
##9521811.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#4D5B7E
Tritanopia (blue-blind)
#9D2A4F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #952181;
/* rgb */ color: rgb(149, 33, 129);
/* oklch */ color: oklch(47.3% 0.182 336.2);
Tailwind
colors: {
  custom: {
    50: '#b86aa6',
    500: '#952181',
    950: '#000000',
  },
}
SCSS
$custom: #952181;
$custom-light: #b86aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#952181",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 310.345,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.18156,
    "h": 336.2
  },
  "luminance": 0.09062
}

Semantic roles & 50–950 ramp

primary
#952181
secondary
#54BE66
accent
#E75E41
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #952181

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

Preview Lab → · Contrast checker → · Palette generator →

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