#951A42#951A42

#951A42 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.158 H 8.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#951A42
RGBrgb(149, 26, 66)
HSLhsl(340, 70%, 34%)
HSVhsv(340, 83%, 58%)
CMYKcmyk(0%, 82.6%, 55.7%, 41.6%)
CIE-LABlab(32.97, 51.39, 8.83)
CIE-LCHlch(32.97, 52.14, 9.75°)
OKLaboklab(44.26% 0.1565 0.0225)
OKLCHoklch(44.26% 0.158 8.2)
XYZxyz(13.7485, 7.5237, 5.8815)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A42 #1A956D
analogous
#951A80 #951A42 #95301A
triadic
#951A42 #42951A #1A4295
tetradic
#951A42 #80951A #1A956D #301A95
square
#951A42 #80951A #1A956D #301A95
split-complementary
#951A42 #1A9530 #1A8095
monochromatic
#2D0814 #61112B #951A42 #C92359 #DF4A7B

Accessibility & contrast

On white

8.39
#951A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#951A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A42
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A42#FFFFFF#000000##FFFFFF
##951A421.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E43
Deuteranopia (green-blind)
#5C563F
Tritanopia (blue-blind)
#A3002C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #951a42;
/* rgb */ color: rgb(149, 26, 66);
/* oklch */ color: oklch(44.3% 0.158 8.2);
Tailwind
colors: {
  custom: {
    50: '#ba6576',
    500: '#951a42',
    950: '#000000',
  },
}
SCSS
$custom: #951a42;
$custom-light: #ba6576;
$custom-dark: #000000;
JSON
{
  "hex": "#951a42",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 340.488,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.15808,
    "h": 8.2
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#951A42
secondary
#4AC19A
accent
#EDB33B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B

Preview Lab

Preview with #951A42

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

Preview Lab → · Contrast checker → · Palette generator →

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