#951B47#951B47

#951B47 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.158 H 5.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#951B47
RGBrgb(149, 27, 71)
HSLhsl(338, 69%, 35%)
HSVhsv(338, 82%, 58%)
CMYKcmyk(0%, 81.9%, 52.3%, 41.6%)
CIE-LABlab(33.20, 51.51, 5.87)
CIE-LCHlch(33.20, 51.85, 6.50°)
OKLaboklab(44.47% 0.1575 0.0154)
OKLCHoklch(44.47% 0.158 5.6)
XYZxyz(13.9250, 7.6303, 6.6996)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B47 #1B9569
analogous
#951B84 #951B47 #952C1B
triadic
#951B47 #47951B #1B4795
tetradic
#951B47 #84951B #1B9569 #2C1B95
square
#951B47 #84951B #1B9569 #2C1B95
split-complementary
#951B47 #1B952C #1B8495
monochromatic
#2D0816 #61122E #951B47 #C92460 #DF4C81

Accessibility & contrast

On white

8.31
#951B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#951B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B47
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B47#FFFFFF#000000##FFFFFF
##951B471.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3F48
Deuteranopia (green-blind)
#5B5744
Tritanopia (blue-blind)
#A3002F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #951b47;
/* rgb */ color: rgb(149, 27, 71);
/* oklch */ color: oklch(44.5% 0.158 5.6);
Tailwind
colors: {
  custom: {
    50: '#ba6679',
    500: '#951b47',
    950: '#000000',
  },
}
SCSS
$custom: #951b47;
$custom-light: #ba6679;
$custom-dark: #000000;
JSON
{
  "hex": "#951b47",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 338.361,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44472,
    "c": 0.15827,
    "h": 5.6
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#951B47
secondary
#4BC196
accent
#ECAC3C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130609
muted
#827A7B

Preview Lab

Preview with #951B47

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

Preview Lab → · Contrast checker → · Palette generator →

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