#951D52#951D52

#951D52 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.160 H 359.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#951D52
RGBrgb(149, 29, 82)
HSLhsl(334, 67%, 35%)
HSVhsv(334, 81%, 58%)
CMYKcmyk(0%, 80.5%, 45%, 41.6%)
CIE-LABlab(33.73, 51.93, -0.55)
CIE-LCHlch(33.73, 51.94, 359.39°)
OKLaboklab(44.97% 0.1596 -0.0008)
OKLCHoklch(44.97% 0.16 359.7)
XYZxyz(14.3579, 7.8794, 8.7458)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D52 #1D9560
analogous
#951D8E #951D52 #95241D
triadic
#951D52 #52951D #1D5295
tetradic
#951D52 #8E951D #1D9560 #241D95
square
#951D52 #8E951D #1D9560 #241D95
split-complementary
#951D52 #1D9524 #1D8E95
monochromatic
#2F091A #621336 #951D52 #C8276E #DD508E

Accessibility & contrast

On white

8.15
#951D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#951D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D52
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D52#FFFFFF#000000##FFFFFF
##951D521.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394153
Deuteranopia (green-blind)
#5A574F
Tritanopia (blue-blind)
#A20135
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #951d52;
/* rgb */ color: rgb(149, 29, 82);
/* oklch */ color: oklch(45.0% 0.160 359.7);
Tailwind
colors: {
  custom: {
    50: '#b96782',
    500: '#951d52',
    950: '#000000',
  },
}
SCSS
$custom: #951d52;
$custom-light: #b96782;
$custom-dark: #000000;
JSON
{
  "hex": "#951d52",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 333.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44967,
    "c": 0.15965,
    "h": 359.7
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

primary
#951D52
secondary
#4EC08E
accent
#EA9E3D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #951D52

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

Preview Lab → · Contrast checker → · Palette generator →

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