#951F75#951F75

#951F75 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.175 H 341.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#951F75
RGBrgb(149, 31, 117)
HSLhsl(316, 66%, 35%)
HSVhsv(316, 79%, 58%)
CMYKcmyk(0%, 79.2%, 21.5%, 41.6%)
CIE-LABlab(35.31, 55.45, -20.58)
CIE-LCHlch(35.31, 59.15, 339.64°)
OKLaboklab(46.57% 0.1665 -0.0554)
OKLCHoklch(46.57% 0.176 341.6)
XYZxyz(16.0958, 8.6556, 17.6492)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F75 #1F953F
analogous
#7A1F95 #951F75 #951F3A
triadic
#951F75 #75951F #1F7595
tetradic
#951F75 #957A1F #1F953F #1F3A95
square
#951F75 #957A1F #1F953F #1F3A95
split-complementary
#951F75 #3A951F #1F957A
monochromatic
#300A25 #62144D #951F75 #C82A9D #DB53B6

Accessibility & contrast

On white

7.69
#951F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#951F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F75
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F75#FFFFFF#000000##FFFFFF
##951F751.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4777
Deuteranopia (green-blind)
#515A72
Tritanopia (blue-blind)
#9F2148
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951f75;
/* rgb */ color: rgb(149, 31, 117);
/* oklch */ color: oklch(46.6% 0.175 341.6);
Tailwind
colors: {
  custom: {
    50: '#b8699d',
    500: '#951f75',
    950: '#000000',
  },
}
SCSS
$custom: #951f75;
$custom-light: #b8699d;
$custom-dark: #000000;
JSON
{
  "hex": "#951f75",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 316.271,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46567,
    "c": 0.1755,
    "h": 341.6
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#951F75
secondary
#51BF6F
accent
#E96D3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951F75

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

Preview Lab → · Contrast checker → · Palette generator →

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