#952981#952981

#952981 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.173 H 336.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#952981
RGBrgb(149, 41, 129)
HSLhsl(311, 57%, 37%)
HSVhsv(311, 72%, 58%)
CMYKcmyk(0%, 72.5%, 13.4%, 41.6%)
CIE-LABlab(37.04, 53.90, -25.38)
CIE-LCHlch(37.04, 59.58, 334.79°)
OKLaboklab(48.01% 0.1582 -0.0691)
OKLCHoklch(48.01% 0.173 336.4)
XYZxyz(17.1501, 9.5620, 21.7070)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952981 #29953D
analogous
#732995 #952981 #95294B
triadic
#952981 #819529 #298195
tetradic
#952981 #957329 #29953D #294B95
square
#952981 #957329 #29953D #294B95
split-complementary
#952981 #4B9529 #299573
monochromatic
#350F2E #651C57 #952981 #C536AB #D464C0

Accessibility & contrast

On white

7.21
#952981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#952981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952981
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952981#FFFFFF#000000##FFFFFF
##9529811.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D83
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#9D3052
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952981;
/* rgb */ color: rgb(149, 41, 129);
/* oklch */ color: oklch(48.0% 0.173 336.4);
Tailwind
colors: {
  custom: {
    50: '#b86da6',
    500: '#952981',
    950: '#000000',
  },
}
SCSS
$custom: #952981;
$custom-light: #b86da6;
$custom-dark: #000000;
JSON
{
  "hex": "#952981",
  "rgb": {
    "r": 149,
    "g": 41,
    "b": 129
  },
  "hsl": {
    "h": 311.111,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48006,
    "c": 0.17263,
    "h": 336.4
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#952981
secondary
#60BA70
accent
#E06448
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952981

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

Preview Lab → · Contrast checker → · Palette generator →

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