#951C7A#951C7A

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

Color values

HEX#951C7A
RGBrgb(149, 28, 122)
HSLhsl(313, 68%, 35%)
HSVhsv(313, 81%, 58%)
CMYKcmyk(0%, 81.2%, 18.1%, 41.6%)
CIE-LABlab(35.26, 56.99, -23.81)
CIE-LCHlch(35.26, 61.77, 337.33°)
OKLaboklab(46.6% 0.1698 -0.0645)
OKLCHoklch(46.6% 0.182 339.2)
XYZxyz(16.3230, 8.6269, 19.2141)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C7A #1C9537
analogous
#731C95 #951C7A #951C3E
triadic
#951C7A #7A951C #1C7A95
tetradic
#951C7A #95731C #1C9537 #1C3E95
square
#951C7A #95731C #1C9537 #1C3E95
split-complementary
#951C7A #3E951C #1C9573
monochromatic
#2E0926 #611250 #951C7A #C926A4 #DE4EBE

Accessibility & contrast

On white

7.71
#951C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#951C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C7A
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C7A#FFFFFF#000000##FFFFFF
##951C7A1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#4E5A77
Tritanopia (blue-blind)
#9E224A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951c7a;
/* rgb */ color: rgb(149, 28, 122);
/* oklch */ color: oklch(46.6% 0.182 339.2);
Tailwind
colors: {
  custom: {
    50: '#b868a0',
    500: '#951c7a',
    950: '#000000',
  },
}
SCSS
$custom: #951c7a;
$custom-light: #b868a0;
$custom-dark: #000000;
JSON
{
  "hex": "#951c7a",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 313.388,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46604,
    "c": 0.18162,
    "h": 339.2
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#951C7A
secondary
#4DC066
accent
#EB643D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #951C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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