#951F4B#951F4B

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

Color values

HEX#951F4B
RGBrgb(149, 31, 75)
HSLhsl(338, 66%, 35%)
HSVhsv(338, 79%, 58%)
CMYKcmyk(0%, 79.2%, 49.7%, 41.6%)
CIE-LABlab(33.73, 50.68, 4.01)
CIE-LCHlch(33.73, 50.84, 4.53°)
OKLaboklab(44.9% 0.1552 0.0108)
OKLCHoklch(44.9% 0.156 4)
XYZxyz(14.1556, 7.8795, 7.4307)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F4B #1F9569
analogous
#951F86 #951F4B #952E1F
triadic
#951F4B #4B951F #1F4B95
tetradic
#951F4B #86951F #1F9569 #2E1F95
square
#951F4B #86951F #1F9569 #2E1F95
split-complementary
#951F4B #1F952E #1F8695
monochromatic
#300A18 #621431 #951F4B #C82A64 #DB5386

Accessibility & contrast

On white

8.15
#951F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F4B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F4B#FFFFFF#000000##FFFFFF
##951F4B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414C
Deuteranopia (green-blind)
#5C5848
Tritanopia (blue-blind)
#A20032
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #951f4b;
/* rgb */ color: rgb(149, 31, 75);
/* oklch */ color: oklch(44.9% 0.156 4.0);
Tailwind
colors: {
  custom: {
    50: '#ba677d',
    500: '#951f4b',
    950: '#000000',
  },
}
SCSS
$custom: #951f4b;
$custom-light: #ba677d;
$custom-dark: #000000;
JSON
{
  "hex": "#951f4b",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 337.627,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44898,
    "c": 0.15558,
    "h": 4
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#951F4B
secondary
#51BF96
accent
#E9A93F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #951F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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