#951F6C#951F6C

#951F6C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.170 H 346.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#951F6C
RGBrgb(149, 31, 108)
HSLhsl(321, 66%, 35%)
HSVhsv(321, 79%, 58%)
CMYKcmyk(0%, 79.2%, 27.5%, 41.6%)
CIE-LABlab(34.91, 54.27, -15.50)
CIE-LCHlch(34.91, 56.44, 344.05°)
OKLaboklab(46.15% 0.1649 -0.0411)
OKLCHoklch(46.15% 0.17 346)
XYZxyz(15.5919, 8.4540, 14.9951)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F6C #1F9548
analogous
#831F95 #951F6C #951F31
triadic
#951F6C #6C951F #1F6C95
tetradic
#951F6C #95831F #1F9548 #1F3195
square
#951F6C #95831F #1F9548 #1F3195
split-complementary
#951F6C #31951F #1F9583
monochromatic
#300A23 #621447 #951F6C #C82A91 #DB53AC

Accessibility & contrast

On white

7.81
#951F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F6C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F6C#FFFFFF#000000##FFFFFF
##951F6C1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456E
Deuteranopia (green-blind)
#545969
Tritanopia (blue-blind)
#A01C43
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951f6c;
/* rgb */ color: rgb(149, 31, 108);
/* oklch */ color: oklch(46.1% 0.170 346.0);
Tailwind
colors: {
  custom: {
    50: '#b86896',
    500: '#951f6c',
    950: '#000000',
  },
}
SCSS
$custom: #951f6c;
$custom-light: #b86896;
$custom-dark: #000000;
JSON
{
  "hex": "#951f6c",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 108
  },
  "hsl": {
    "h": 320.847,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46146,
    "c": 0.16999,
    "h": 346
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#951F6C
secondary
#51BF77
accent
#E97A3F
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #951F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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