#951978#951978

#951978 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.3% C 0.183 H 340.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#951978
RGBrgb(149, 25, 120)
HSLhsl(314, 71%, 34%)
HSVhsv(314, 83%, 58%)
CMYKcmyk(0%, 83.2%, 19.5%, 41.6%)
CIE-LABlab(34.89, 57.49, -23.13)
CIE-LCHlch(34.89, 61.97, 338.09°)
OKLaboklab(46.31% 0.1719 -0.0625)
OKLCHoklch(46.31% 0.183 340)
XYZxyz(16.1327, 8.4426, 18.5456)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951978 #199536
analogous
#741995 #951978 #95193A
triadic
#951978 #789519 #197895
tetradic
#951978 #957419 #199536 #193A95
square
#951978 #957419 #199536 #193A95
split-complementary
#951978 #3A9519 #199574
monochromatic
#2C0724 #61104E #951978 #C922A2 #E048BD

Accessibility & contrast

On white

7.81
#951978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#951978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951978
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951978#FFFFFF#000000##FFFFFF
##9519781.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467A
Deuteranopia (green-blind)
#4E5975
Tritanopia (blue-blind)
#9E1E48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951978;
/* rgb */ color: rgb(149, 25, 120);
/* oklch */ color: oklch(46.3% 0.183 340.0);
Tailwind
colors: {
  custom: {
    50: '#b8679f',
    500: '#951978',
    950: '#000000',
  },
}
SCSS
$custom: #951978;
$custom-light: #b8679f;
$custom-dark: #000000;
JSON
{
  "hex": "#951978",
  "rgb": {
    "r": 149,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 314.032,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46308,
    "c": 0.18295,
    "h": 340
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#951978
secondary
#48C264
accent
#EE643A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951978

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

Preview Lab → · Contrast checker → · Palette generator →

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