#951980#951980

#951980 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.7% C 0.188 H 336.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#951980
RGBrgb(149, 25, 128)
HSLhsl(310, 71%, 34%)
HSVhsv(310, 83%, 58%)
CMYKcmyk(0%, 83.2%, 14.1%, 41.6%)
CIE-LABlab(35.29, 58.62, -27.50)
CIE-LCHlch(35.29, 64.75, 334.86°)
OKLaboklab(46.73% 0.1726 -0.0751)
OKLCHoklch(46.73% 0.188 336.5)
XYZxyz(16.6387, 8.6449, 21.2102)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951980 #19952E
analogous
#6C1995 #951980 #951942
triadic
#951980 #809519 #198095
tetradic
#951980 #956C19 #19952E #194295
square
#951980 #956C19 #19952E #194295
split-complementary
#951980 #429519 #19956C
monochromatic
#2C0726 #611053 #951980 #C922AD #E048C7

Accessibility & contrast

On white

7.70
#951980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#951980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951980
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951980#FFFFFF#000000##FFFFFF
##9519801.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4783
Deuteranopia (green-blind)
#4B597D
Tritanopia (blue-blind)
#9D244D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951980;
/* rgb */ color: rgb(149, 25, 128);
/* oklch */ color: oklch(46.7% 0.188 336.5);
Tailwind
colors: {
  custom: {
    50: '#b867a5',
    500: '#951980',
    950: '#000000',
  },
}
SCSS
$custom: #951980;
$custom-light: #b867a5;
$custom-dark: #000000;
JSON
{
  "hex": "#951980",
  "rgb": {
    "r": 149,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 310.161,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46728,
    "c": 0.18825,
    "h": 336.5
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#951980
secondary
#48C25D
accent
#EE583A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951980

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

Preview Lab → · Contrast checker → · Palette generator →

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