#951C6F#951C6F

#951C6F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.175 H 344.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#951C6F
RGBrgb(149, 28, 111)
HSLhsl(319, 68%, 35%)
HSVhsv(319, 81%, 58%)
CMYKcmyk(0%, 81.2%, 25.5%, 41.6%)
CIE-LABlab(34.74, 55.51, -17.67)
CIE-LCHlch(34.74, 58.26, 342.34°)
OKLaboklab(46.07% 0.1682 -0.0472)
OKLCHoklch(46.07% 0.175 344.3)
XYZxyz(15.6796, 8.3695, 15.8256)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C6F #1C9542
analogous
#7F1C95 #951C6F #951C32
triadic
#951C6F #6F951C #1C6F95
tetradic
#951C6F #957F1C #1C9542 #1C3295
square
#951C6F #957F1C #1C9542 #1C3295
split-complementary
#951C6F #32951C #1C957F
monochromatic
#2E0922 #611249 #951C6F #C92695 #DE4EB0

Accessibility & contrast

On white

7.85
#951C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#951C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C6F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C6F#FFFFFF#000000##FFFFFF
##951C6F1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#52596C
Tritanopia (blue-blind)
#9F1B44
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951c6f;
/* rgb */ color: rgb(149, 28, 111);
/* oklch */ color: oklch(46.1% 0.175 344.3);
Tailwind
colors: {
  custom: {
    50: '#b86798',
    500: '#951c6f',
    950: '#000000',
  },
}
SCSS
$custom: #951c6f;
$custom-light: #b86798;
$custom-dark: #000000;
JSON
{
  "hex": "#951c6f",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 111
  },
  "hsl": {
    "h": 318.843,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46065,
    "c": 0.17468,
    "h": 344.3
  },
  "luminance": 0.08368
}

Semantic roles & 50–950 ramp

primary
#951C6F
secondary
#4DC071
accent
#EB733D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #951C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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