#951879#951879

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

Color values

HEX#951879
RGBrgb(149, 24, 121)
HSLhsl(313, 72%, 34%)
HSVhsv(313, 84%, 58%)
CMYKcmyk(0%, 83.9%, 18.8%, 41.6%)
CIE-LABlab(34.85, 57.87, -23.81)
CIE-LCHlch(34.85, 62.58, 337.64°)
OKLaboklab(46.3% 0.1728 -0.0645)
OKLCHoklch(46.3% 0.184 339.5)
XYZxyz(16.1727, 8.4250, 18.8599)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951879 #189534
analogous
#731895 #951879 #95183B
triadic
#951879 #799518 #187995
tetradic
#951879 #957318 #189534 #183B95
square
#951879 #957318 #189534 #183B95
split-complementary
#951879 #3B9518 #189573
monochromatic
#2C0723 #60104E #951879 #CA20A4 #E146BE

Accessibility & contrast

On white

7.82
#951879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951879
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951879#FFFFFF#000000##FFFFFF
##9518791.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467B
Deuteranopia (green-blind)
#4D5976
Tritanopia (blue-blind)
#9E1E49
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951879;
/* rgb */ color: rgb(149, 24, 121);
/* oklch */ color: oklch(46.3% 0.184 339.5);
Tailwind
colors: {
  custom: {
    50: '#b867a0',
    500: '#951879',
    950: '#000000',
  },
}
SCSS
$custom: #951879;
$custom-light: #b867a0;
$custom-dark: #000000;
JSON
{
  "hex": "#951879",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 313.44,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46299,
    "c": 0.18441,
    "h": 339.5
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#951879
secondary
#46C262
accent
#EF6239
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951879

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

Preview Lab → · Contrast checker → · Palette generator →

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