#951F4E#951F4E

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

Color values

HEX#951F4E
RGBrgb(149, 31, 78)
HSLhsl(336, 66%, 35%)
HSVhsv(336, 79%, 58%)
CMYKcmyk(0%, 79.2%, 47.7%, 41.6%)
CIE-LABlab(33.82, 50.95, 2.18)
CIE-LCHlch(33.82, 51.00, 2.45°)
OKLaboklab(44.99% 0.1563 0.0062)
OKLCHoklch(44.99% 0.156 2.3)
XYZxyz(14.2607, 7.9215, 7.9843)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F4E #1F9566
analogous
#951F89 #951F4E #952B1F
triadic
#951F4E #4E951F #1F4E95
tetradic
#951F4E #89951F #1F9566 #2B1F95
square
#951F4E #89951F #1F9566 #2B1F95
split-complementary
#951F4E #1F952B #1F8995
monochromatic
#300A19 #621433 #951F4E #C82A69 #DB5389

Accessibility & contrast

On white

8.13
#951F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F4E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F4E#FFFFFF#000000##FFFFFF
##951F4E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#5B584B
Tritanopia (blue-blind)
#A20134
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #951f4e;
/* rgb */ color: rgb(149, 31, 78);
/* oklch */ color: oklch(45.0% 0.156 2.3);
Tailwind
colors: {
  custom: {
    50: '#ba677f',
    500: '#951f4e',
    950: '#000000',
  },
}
SCSS
$custom: #951f4e;
$custom-light: #ba677f;
$custom-dark: #000000;
JSON
{
  "hex": "#951f4e",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 336.102,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44992,
    "c": 0.15643,
    "h": 2.3
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#951F4E
secondary
#51BF93
accent
#E9A53F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #951F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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