#951878#951878

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

Color values

HEX#951878
RGBrgb(149, 24, 120)
HSLhsl(314, 72%, 34%)
HSVhsv(314, 84%, 58%)
CMYKcmyk(0%, 83.9%, 19.5%, 41.6%)
CIE-LABlab(34.80, 57.74, -23.26)
CIE-LCHlch(34.80, 62.25, 338.06°)
OKLaboklab(46.25% 0.1727 -0.0629)
OKLCHoklch(46.25% 0.184 340)
XYZxyz(16.1117, 8.4006, 18.5386)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951878 #189535
analogous
#741895 #951878 #95183A
triadic
#951878 #789518 #187895
tetradic
#951878 #957418 #189535 #183A95
square
#951878 #957418 #189535 #183A95
split-complementary
#951878 #3A9518 #189574
monochromatic
#2C0723 #60104E #951878 #CA20A2 #E146BD

Accessibility & contrast

On white

7.84
#951878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#951878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951878
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951878#FFFFFF#000000##FFFFFF
##9518781.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951878;
/* rgb */ color: rgb(149, 24, 120);
/* oklch */ color: oklch(46.2% 0.184 340.0);
Tailwind
colors: {
  custom: {
    50: '#b8669f',
    500: '#951878',
    950: '#000000',
  },
}
SCSS
$custom: #951878;
$custom-light: #b8669f;
$custom-dark: #000000;
JSON
{
  "hex": "#951878",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 313.92,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46247,
    "c": 0.18377,
    "h": 340
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#951878
secondary
#46C263
accent
#EF6339
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951878

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

Preview Lab → · Contrast checker → · Palette generator →

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