#951F80#951F80

#951F80 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.183 H 336.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#951F80
RGBrgb(149, 31, 128)
HSLhsl(311, 66%, 35%)
HSVhsv(311, 79%, 58%)
CMYKcmyk(0%, 79.2%, 14.1%, 41.6%)
CIE-LABlab(35.85, 57.01, -26.63)
CIE-LCHlch(35.85, 62.93, 334.96°)
OKLaboklab(47.13% 0.1678 -0.0726)
OKLCHoklch(47.13% 0.183 336.6)
XYZxyz(16.7810, 8.9296, 21.2577)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F80 #1F9534
analogous
#6F1F95 #951F80 #951F45
triadic
#951F80 #80951F #1F8095
tetradic
#951F80 #956F1F #1F9534 #1F4595
square
#951F80 #956F1F #1F9534 #1F4595
split-complementary
#951F80 #45951F #1F956F
monochromatic
#300A29 #621454 #951F80 #C82AAC #DB53C3

Accessibility & contrast

On white

7.54
#951F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#951F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F80
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F80#FFFFFF#000000##FFFFFF
##951F801.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224983
Deuteranopia (green-blind)
#4C5B7D
Tritanopia (blue-blind)
#9D284E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951f80;
/* rgb */ color: rgb(149, 31, 128);
/* oklch */ color: oklch(47.1% 0.183 336.6);
Tailwind
colors: {
  custom: {
    50: '#b869a5',
    500: '#951f80',
    950: '#000000',
  },
}
SCSS
$custom: #951f80;
$custom-light: #b869a5;
$custom-dark: #000000;
JSON
{
  "hex": "#951f80",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 310.678,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47128,
    "c": 0.18286,
    "h": 336.6
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#951F80
secondary
#51BF65
accent
#E95D3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951F80

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

Preview Lab → · Contrast checker → · Palette generator →

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