#951F5D#951F5D

#951F5D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.162 H 353.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#951F5D
RGBrgb(149, 31, 93)
HSLhsl(328, 66%, 35%)
HSVhsv(328, 79%, 58%)
CMYKcmyk(0%, 79.2%, 37.6%, 41.6%)
CIE-LABlab(34.32, 52.48, -6.81)
CIE-LCHlch(34.32, 52.92, 352.61°)
OKLaboklab(45.52% 0.1612 -0.0173)
OKLCHoklch(45.52% 0.162 353.9)
XYZxyz(14.8612, 8.1617, 11.1466)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F5D #1F9557
analogous
#921F95 #951F5D #951F22
triadic
#951F5D #5D951F #1F5D95
tetradic
#951F5D #95921F #1F9557 #1F2295
square
#951F5D #95921F #1F9557 #1F2295
split-complementary
#951F5D #22951F #1F9592
monochromatic
#300A1E #62143D #951F5D #C82A7D #DB539B

Accessibility & contrast

On white

7.98
#951F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#951F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F5D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F5D#FFFFFF#000000##FFFFFF
##951F5D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435F
Deuteranopia (green-blind)
#58585A
Tritanopia (blue-blind)
#A1103B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #951f5d;
/* rgb */ color: rgb(149, 31, 93);
/* oklch */ color: oklch(45.5% 0.162 353.9);
Tailwind
colors: {
  custom: {
    50: '#b9688a',
    500: '#951f5d',
    950: '#000000',
  },
}
SCSS
$custom: #951f5d;
$custom-light: #b9688a;
$custom-dark: #000000;
JSON
{
  "hex": "#951f5d",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 328.475,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4552,
    "c": 0.16215,
    "h": 353.9
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#951F5D
secondary
#51BF85
accent
#E9903F
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #951F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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