#951F52#951F52

#951F52 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.158 H 360.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#951F52
RGBrgb(149, 31, 82)
HSLhsl(334, 66%, 35%)
HSVhsv(334, 79%, 58%)
CMYKcmyk(0%, 79.2%, 45%, 41.6%)
CIE-LABlab(33.94, 51.33, -0.24)
CIE-LCHlch(33.94, 51.33, 359.73°)
OKLaboklab(45.12% 0.1577 0)
OKLCHoklch(45.12% 0.158 0)
XYZxyz(14.4085, 7.9806, 8.7627)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F52 #1F9562
analogous
#951F8D #951F52 #95271F
triadic
#951F52 #52951F #1F5295
tetradic
#951F52 #8D951F #1F9562 #271F95
square
#951F52 #8D951F #1F9562 #271F95
split-complementary
#951F52 #1F9527 #1F8D95
monochromatic
#300A1A #621436 #951F52 #C82A6E #DB538E

Accessibility & contrast

On white

8.09
#951F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#951F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F52
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F52#FFFFFF#000000##FFFFFF
##951F521.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951f52;
/* rgb */ color: rgb(149, 31, 82);
/* oklch */ color: oklch(45.1% 0.158 360.0);
Tailwind
colors: {
  custom: {
    50: '#b96782',
    500: '#951f52',
    950: '#000000',
  },
}
SCSS
$custom: #951f52;
$custom-light: #b96782;
$custom-dark: #000000;
JSON
{
  "hex": "#951f52",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 334.068,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45123,
    "c": 0.15772,
    "h": 360
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#951F52
secondary
#51BF8F
accent
#E99F3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #951F52

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

Preview Lab → · Contrast checker → · Palette generator →

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