#951A4E#951A4E

#951A4E is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.161 H 1.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#951A4E
RGBrgb(149, 26, 78)
HSLhsl(335, 70%, 34%)
HSVhsv(335, 83%, 58%)
CMYKcmyk(0%, 82.6%, 47.7%, 41.6%)
CIE-LABlab(33.31, 52.40, 1.44)
CIE-LCHlch(33.31, 52.42, 1.58°)
OKLaboklab(44.62% 0.161 0.0043)
OKLCHoklch(44.62% 0.161 1.5)
XYZxyz(14.1402, 7.6804, 7.9441)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A4E #1A9561
analogous
#951A8C #951A4E #95231A
triadic
#951A4E #4E951A #1A4E95
tetradic
#951A4E #8C951A #1A9561 #231A95
square
#951A4E #8C951A #1A9561 #231A95
split-complementary
#951A4E #1A9523 #1A8C95
monochromatic
#2D0817 #611133 #951A4E #C92369 #DF4A89

Accessibility & contrast

On white

8.28
#951A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#951A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A4E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A4E#FFFFFF#000000##FFFFFF
##951A4E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4F
Deuteranopia (green-blind)
#5A574B
Tritanopia (blue-blind)
#A20032
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #951a4e;
/* rgb */ color: rgb(149, 26, 78);
/* oklch */ color: oklch(44.6% 0.161 1.5);
Tailwind
colors: {
  custom: {
    50: '#ba657f',
    500: '#951a4e',
    950: '#000000',
  },
}
SCSS
$custom: #951a4e;
$custom-light: #ba657f;
$custom-dark: #000000;
JSON
{
  "hex": "#951a4e",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 334.634,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44617,
    "c": 0.16104,
    "h": 1.5
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#951A4E
secondary
#4AC18F
accent
#EDA23B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13060A
muted
#827A7C

Preview Lab

Preview with #951A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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