#951F53#951F53

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

Color values

HEX#951F53
RGBrgb(149, 31, 83)
HSLhsl(334, 66%, 35%)
HSVhsv(334, 79%, 58%)
CMYKcmyk(0%, 79.2%, 44.3%, 41.6%)
CIE-LABlab(33.97, 51.43, -0.84)
CIE-LCHlch(33.97, 51.44, 359.06°)
OKLaboklab(45.16% 0.1581 -0.0016)
OKLCHoklch(45.16% 0.158 359.4)
XYZxyz(14.4469, 7.9960, 8.9646)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F53 #1F9561
analogous
#951F8E #951F53 #95261F
triadic
#951F53 #53951F #1F5395
tetradic
#951F53 #8E951F #1F9561 #261F95
square
#951F53 #8E951F #1F9561 #261F95
split-complementary
#951F53 #1F9526 #1F8E95
monochromatic
#300A1B #621437 #951F53 #C82A6F #DB538F

Accessibility & contrast

On white

8.08
#951F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F53
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F53#FFFFFF#000000##FFFFFF
##951F531.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4254
Deuteranopia (green-blind)
#5A5850
Tritanopia (blue-blind)
#A20636
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #951f53;
/* rgb */ color: rgb(149, 31, 83);
/* oklch */ color: oklch(45.2% 0.158 359.4);
Tailwind
colors: {
  custom: {
    50: '#b96783',
    500: '#951f53',
    950: '#000000',
  },
}
SCSS
$custom: #951f53;
$custom-light: #b96783;
$custom-dark: #000000;
JSON
{
  "hex": "#951f53",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 333.559,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45157,
    "c": 0.15807,
    "h": 359.4
  },
  "luminance": 0.07994
}

Semantic roles & 50–950 ramp

primary
#951F53
secondary
#51BF8E
accent
#E99E3F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#12070A
muted
#817A7C

Preview Lab

Preview with #951F53

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

Preview Lab → · Contrast checker → · Palette generator →

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