#951F6E#951F6E

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

Color values

HEX#951F6E
RGBrgb(149, 31, 110)
HSLhsl(320, 66%, 35%)
HSVhsv(320, 79%, 58%)
CMYKcmyk(0%, 79.2%, 26.2%, 41.6%)
CIE-LABlab(35.00, 54.52, -16.64)
CIE-LCHlch(35.00, 57.01, 343.03°)
OKLaboklab(46.24% 0.1653 -0.0443)
OKLCHoklch(46.24% 0.171 345)
XYZxyz(15.6996, 8.4971, 15.5621)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F6E #1F9546
analogous
#811F95 #951F6E #951F33
triadic
#951F6E #6E951F #1F6E95
tetradic
#951F6E #95811F #1F9546 #1F3395
square
#951F6E #95811F #1F9546 #1F3395
split-complementary
#951F6E #33951F #1F9581
monochromatic
#300A23 #621449 #951F6E #C82A93 #DB53AE

Accessibility & contrast

On white

7.78
#951F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#951F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F6E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F6E#FFFFFF#000000##FFFFFF
##951F6E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4670
Deuteranopia (green-blind)
#53596B
Tritanopia (blue-blind)
#9F1D44
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951f6e;
/* rgb */ color: rgb(149, 31, 110);
/* oklch */ color: oklch(46.2% 0.171 345.0);
Tailwind
colors: {
  custom: {
    50: '#b86897',
    500: '#951f6e',
    950: '#000000',
  },
}
SCSS
$custom: #951f6e;
$custom-light: #b86897;
$custom-dark: #000000;
JSON
{
  "hex": "#951f6e",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 319.831,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46237,
    "c": 0.17117,
    "h": 345
  },
  "luminance": 0.08495
}

Semantic roles & 50–950 ramp

primary
#951F6E
secondary
#51BF75
accent
#E9773F
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #951F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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