#951D74#951D74

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

Color values

HEX#951D74
RGBrgb(149, 29, 116)
HSLhsl(317, 67%, 35%)
HSVhsv(317, 81%, 58%)
CMYKcmyk(0%, 80.5%, 22.1%, 41.6%)
CIE-LABlab(35.06, 55.89, -20.33)
CIE-LCHlch(35.06, 59.48, 340.01°)
OKLaboklab(46.37% 0.1682 -0.0547)
OKLCHoklch(46.37% 0.177 342)
XYZxyz(15.9868, 8.5309, 17.3243)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D74 #1D953E
analogous
#7A1D95 #951D74 #951D38
triadic
#951D74 #74951D #1D7495
tetradic
#951D74 #957A1D #1D953E #1D3895
square
#951D74 #957A1D #1D953E #1D3895
split-complementary
#951D74 #38951D #1D957A
monochromatic
#2F0924 #62134C #951D74 #C8279C #DD50B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951D74#FFFFFF#000000##FFFFFF
##951D741.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)
#2A4676
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#9F1F47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951d74;
/* rgb */ color: rgb(149, 29, 116);
/* oklch */ color: oklch(46.4% 0.177 342.0);
Tailwind
colors: {
  custom: {
    50: '#b8689c',
    500: '#951d74',
    950: '#000000',
  },
}
SCSS
$custom: #951d74;
$custom-light: #b8689c;
$custom-dark: #000000;
JSON
{
  "hex": "#951d74",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 316.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.17682,
    "h": 342
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#951D74
secondary
#4EC06D
accent
#EA6D3D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951D74

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

Preview Lab → · Contrast checker → · Palette generator →

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