#951D71#951D71

#951D71 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.175 H 343.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#951D71
RGBrgb(149, 29, 113)
HSLhsl(318, 67%, 35%)
HSVhsv(318, 81%, 58%)
CMYKcmyk(0%, 80.5%, 24.2%, 41.6%)
CIE-LABlab(34.93, 55.49, -18.65)
CIE-LCHlch(34.93, 58.54, 341.42°)
OKLaboklab(46.23% 0.1677 -0.0499)
OKLCHoklch(46.23% 0.175 343.4)
XYZxyz(15.8151, 8.4623, 16.4201)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D71 #1D9541
analogous
#7D1D95 #951D71 #951D35
triadic
#951D71 #71951D #1D7195
tetradic
#951D71 #957D1D #1D9541 #1D3595
square
#951D71 #957D1D #1D9541 #1D3595
split-complementary
#951D71 #35951D #1D957D
monochromatic
#2F0923 #62134A #951D71 #C82798 #DD50B2

Accessibility & contrast

On white

7.80
#951D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#951D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##951D71#FFFFFF#000000##FFFFFF
##951D711.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)
#2C4673
Deuteranopia (green-blind)
#52596E
Tritanopia (blue-blind)
#9F1D45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951d71;
/* rgb */ color: rgb(149, 29, 113);
/* oklch */ color: oklch(46.2% 0.175 343.4);
Tailwind
colors: {
  custom: {
    50: '#b8689a',
    500: '#951d71',
    950: '#000000',
  },
}
SCSS
$custom: #951d71;
$custom-light: #b8689a;
$custom-dark: #000000;
JSON
{
  "hex": "#951d71",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 318,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4623,
    "c": 0.17495,
    "h": 343.4
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#951D71
secondary
#4EC070
accent
#EA713D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951D71

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

Preview Lab → · Contrast checker → · Palette generator →

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