#951E52#951E52

#951E52 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.159 H 359.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#951E52
RGBrgb(149, 30, 82)
HSLhsl(334, 66%, 35%)
HSVhsv(334, 80%, 58%)
CMYKcmyk(0%, 79.9%, 45%, 41.6%)
CIE-LABlab(33.84, 51.64, -0.40)
CIE-LCHlch(33.84, 51.64, 359.56°)
OKLaboklab(45.04% 0.1587 -0.0004)
OKLCHoklch(45.04% 0.159 359.8)
XYZxyz(14.3828, 7.9292, 8.7541)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E52 #1E9561
analogous
#951E8D #951E52 #95261E
triadic
#951E52 #52951E #1E5295
tetradic
#951E52 #8D951E #1E9561 #261E95
square
#951E52 #8D951E #1E9561 #261E95
split-complementary
#951E52 #1E9526 #1E8D95
monochromatic
#2F091A #621436 #951E52 #C8286E #DC518E

Accessibility & contrast

On white

8.12
#951E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#951E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E52
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E52#FFFFFF#000000##FFFFFF
##951E521.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#5A584F
Tritanopia (blue-blind)
#A20335
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #951e52;
/* rgb */ color: rgb(149, 30, 82);
/* oklch */ color: oklch(45.0% 0.159 359.8);
Tailwind
colors: {
  custom: {
    50: '#b96782',
    500: '#951e52',
    950: '#000000',
  },
}
SCSS
$custom: #951e52;
$custom-light: #b96782;
$custom-dark: #000000;
JSON
{
  "hex": "#951e52",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 333.782,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45044,
    "c": 0.1587,
    "h": 359.8
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#951E52
secondary
#50BF8E
accent
#E99F3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #951E52

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

Preview Lab → · Contrast checker → · Palette generator →

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