#951979#951979

#951979 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.4% C 0.184 H 339.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#951979
RGBrgb(149, 25, 121)
HSLhsl(314, 71%, 34%)
HSVhsv(314, 83%, 58%)
CMYKcmyk(0%, 83.2%, 18.8%, 41.6%)
CIE-LABlab(34.94, 57.63, -23.68)
CIE-LCHlch(34.94, 62.30, 337.66°)
OKLaboklab(46.36% 0.172 -0.0641)
OKLCHoklch(46.36% 0.184 339.6)
XYZxyz(16.1937, 8.4670, 18.8669)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951979 #199535
analogous
#731995 #951979 #95193B
triadic
#951979 #799519 #197995
tetradic
#951979 #957319 #199535 #193B95
square
#951979 #957319 #199535 #193B95
split-complementary
#951979 #3B9519 #199573
monochromatic
#2C0724 #61104E #951979 #C922A4 #E048BE

Accessibility & contrast

On white

7.80
#951979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951979
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951979#FFFFFF#000000##FFFFFF
##9519791.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951979;
/* rgb */ color: rgb(149, 25, 121);
/* oklch */ color: oklch(46.4% 0.184 339.6);
Tailwind
colors: {
  custom: {
    50: '#b867a0',
    500: '#951979',
    950: '#000000',
  },
}
SCSS
$custom: #951979;
$custom-light: #b867a0;
$custom-dark: #000000;
JSON
{
  "hex": "#951979",
  "rgb": {
    "r": 149,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 313.548,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46359,
    "c": 0.18359,
    "h": 339.6
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#951979
secondary
#48C263
accent
#EE623A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951979

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

Preview Lab → · Contrast checker → · Palette generator →

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