#951A7A#951A7A

#951A7A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.5% C 0.183 H 339.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#951A7A
RGBrgb(149, 26, 122)
HSLhsl(313, 70%, 34%)
HSVhsv(313, 83%, 58%)
CMYKcmyk(0%, 82.6%, 18.1%, 41.6%)
CIE-LABlab(35.07, 57.52, -24.09)
CIE-LCHlch(35.07, 62.36, 337.27°)
OKLaboklab(46.47% 0.1714 -0.0653)
OKLCHoklch(46.47% 0.183 339.1)
XYZxyz(16.2771, 8.5351, 19.1988)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A7A #1A9535
analogous
#731A95 #951A7A #951A3C
triadic
#951A7A #7A951A #1A7A95
tetradic
#951A7A #95731A #1A9535 #1A3C95
square
#951A7A #95731A #1A9535 #1A3C95
split-complementary
#951A7A #3C951A #1A9573
monochromatic
#2D0825 #61114F #951A7A #C923A5 #DF4ABF

Accessibility & contrast

On white

7.76
#951A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951A7A
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A7A#FFFFFF#000000##FFFFFF
##951A7A1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#4D5977
Tritanopia (blue-blind)
#9E204A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951a7a;
/* rgb */ color: rgb(149, 26, 122);
/* oklch */ color: oklch(46.5% 0.183 339.1);
Tailwind
colors: {
  custom: {
    50: '#b867a0',
    500: '#951a7a',
    950: '#000000',
  },
}
SCSS
$custom: #951a7a;
$custom-light: #b867a0;
$custom-dark: #000000;
JSON
{
  "hex": "#951a7a",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 313.171,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46473,
    "c": 0.18339,
    "h": 339.1
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#951A7A
secondary
#4AC164
accent
#ED623B
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #951A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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