#951F56#951F56

#951F56 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.159 H 357.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#951F56
RGBrgb(149, 31, 86)
HSLhsl(332, 66%, 35%)
HSVhsv(332, 79%, 58%)
CMYKcmyk(0%, 79.2%, 42.3%, 41.6%)
CIE-LABlab(34.07, 51.73, -2.65)
CIE-LCHlch(34.07, 51.80, 357.07°)
OKLaboklab(45.26% 0.1591 -0.0063)
OKLCHoklch(45.26% 0.159 357.7)
XYZxyz(14.5652, 8.0433, 9.5878)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F56 #1F955E
analogous
#951F91 #951F56 #95231F
triadic
#951F56 #56951F #1F5695
tetradic
#951F56 #91951F #1F955E #231F95
square
#951F56 #91951F #1F955E #231F95
split-complementary
#951F56 #1F9523 #1F9195
monochromatic
#300A1C #621439 #951F56 #C82A73 #DB5393

Accessibility & contrast

On white

8.05
#951F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#951F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F56
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F56#FFFFFF#000000##FFFFFF
##951F561.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394257
Deuteranopia (green-blind)
#595853
Tritanopia (blue-blind)
#A20A38
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #951f56;
/* rgb */ color: rgb(149, 31, 86);
/* oklch */ color: oklch(45.3% 0.159 357.7);
Tailwind
colors: {
  custom: {
    50: '#b96885',
    500: '#951f56',
    950: '#000000',
  },
}
SCSS
$custom: #951f56;
$custom-light: #b96885;
$custom-dark: #000000;
JSON
{
  "hex": "#951f56",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 332.034,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45261,
    "c": 0.15918,
    "h": 357.7
  },
  "luminance": 0.08041
}

Semantic roles & 50–950 ramp

primary
#951F56
secondary
#51BF8C
accent
#E99A3F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #951F56

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

Preview Lab → · Contrast checker → · Palette generator →

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