#951F6D#951F6D

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

Color values

HEX#951F6D
RGBrgb(149, 31, 109)
HSLhsl(320, 66%, 35%)
HSVhsv(320, 79%, 58%)
CMYKcmyk(0%, 79.2%, 26.8%, 41.6%)
CIE-LABlab(34.95, 54.39, -16.07)
CIE-LCHlch(34.95, 56.72, 343.54°)
OKLaboklab(46.19% 0.1652 -0.0427)
OKLCHoklch(46.19% 0.171 345.5)
XYZxyz(15.6454, 8.4754, 15.2770)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F6D #1F9547
analogous
#821F95 #951F6D #951F32
triadic
#951F6D #6D951F #1F6D95
tetradic
#951F6D #95821F #1F9547 #1F3295
square
#951F6D #95821F #1F9547 #1F3295
split-complementary
#951F6D #32951F #1F9582
monochromatic
#300A23 #621448 #951F6D #C82A92 #DB53AD

Accessibility & contrast

On white

7.79
#951F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F6D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F6D#FFFFFF#000000##FFFFFF
##951F6D1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456F
Deuteranopia (green-blind)
#53596A
Tritanopia (blue-blind)
#9F1C44
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951f6d;
/* rgb */ color: rgb(149, 31, 109);
/* oklch */ color: oklch(46.2% 0.171 345.5);
Tailwind
colors: {
  custom: {
    50: '#b86897',
    500: '#951f6d',
    950: '#000000',
  },
}
SCSS
$custom: #951f6d;
$custom-light: #b86897;
$custom-dark: #000000;
JSON
{
  "hex": "#951f6d",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 320.339,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46191,
    "c": 0.17059,
    "h": 345.5
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#951F6D
secondary
#51BF76
accent
#E9793F
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #951F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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