#951A47#951A47

#951A47 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.159 H 5.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#951A47
RGBrgb(149, 26, 71)
HSLhsl(338, 70%, 34%)
HSVhsv(338, 83%, 58%)
CMYKcmyk(0%, 82.6%, 52.3%, 41.6%)
CIE-LABlab(33.10, 51.79, 5.73)
CIE-LCHlch(33.10, 52.11, 6.32°)
OKLaboklab(44.4% 0.1584 0.015)
OKLCHoklch(44.4% 0.159 5.4)
XYZxyz(13.9024, 7.5853, 6.6921)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A47 #1A9568
analogous
#951A85 #951A47 #952B1A
triadic
#951A47 #47951A #1A4795
tetradic
#951A47 #85951A #1A9568 #2B1A95
square
#951A47 #85951A #1A9568 #2B1A95
split-complementary
#951A47 #1A952B #1A8595
monochromatic
#2D0815 #61112E #951A47 #C92360 #DF4A81

Accessibility & contrast

On white

8.34
#951A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#951A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A47
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A47#FFFFFF#000000##FFFFFF
##951A471.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E48
Deuteranopia (green-blind)
#5B5644
Tritanopia (blue-blind)
#A3002E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #951a47;
/* rgb */ color: rgb(149, 26, 71);
/* oklch */ color: oklch(44.4% 0.159 5.4);
Tailwind
colors: {
  custom: {
    50: '#ba6579',
    500: '#951a47',
    950: '#000000',
  },
}
SCSS
$custom: #951a47;
$custom-light: #ba6579;
$custom-dark: #000000;
JSON
{
  "hex": "#951a47",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 338.049,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.444,
    "c": 0.15912,
    "h": 5.4
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#951A47
secondary
#4AC195
accent
#EDAC3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130609
muted
#827A7B

Preview Lab

Preview with #951A47

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

Preview Lab → · Contrast checker → · Palette generator →

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