#951B79#951B79

#951B79 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.182 H 339.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#951B79
RGBrgb(149, 27, 121)
HSLhsl(314, 69%, 35%)
HSVhsv(314, 82%, 58%)
CMYKcmyk(0%, 81.9%, 18.8%, 41.6%)
CIE-LABlab(35.11, 57.12, -23.40)
CIE-LCHlch(35.11, 61.73, 337.72°)
OKLaboklab(46.49% 0.1705 -0.0633)
OKLCHoklch(46.49% 0.182 339.6)
XYZxyz(16.2380, 8.5556, 18.8817)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B79 #1B9537
analogous
#741B95 #951B79 #951B3C
triadic
#951B79 #79951B #1B7995
tetradic
#951B79 #95741B #1B9537 #1B3C95
square
#951B79 #95741B #1B9537 #1B3C95
split-complementary
#951B79 #3C951B #1B9574
monochromatic
#2D0825 #61124F #951B79 #C924A3 #DF4CBD

Accessibility & contrast

On white

7.75
#951B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#951B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B79
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B79#FFFFFF#000000##FFFFFF
##951B791.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467B
Deuteranopia (green-blind)
#4E5976
Tritanopia (blue-blind)
#9E2149
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951b79;
/* rgb */ color: rgb(149, 27, 121);
/* oklch */ color: oklch(46.5% 0.182 339.6);
Tailwind
colors: {
  custom: {
    50: '#b867a0',
    500: '#951b79',
    950: '#000000',
  },
}
SCSS
$custom: #951b79;
$custom-light: #b867a0;
$custom-dark: #000000;
JSON
{
  "hex": "#951b79",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 313.77,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.18187,
    "h": 339.6
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#951B79
secondary
#4BC166
accent
#EC643C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951B79

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

Preview Lab → · Contrast checker → · Palette generator →

#951B79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva