#951872#951872

#951872 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.180 H 342.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#951872
RGBrgb(149, 24, 114)
HSLhsl(317, 72%, 34%)
HSVhsv(317, 84%, 58%)
CMYKcmyk(0%, 83.9%, 23.5%, 41.6%)
CIE-LABlab(34.52, 56.94, -19.92)
CIE-LCHlch(34.52, 60.32, 340.72°)
OKLaboklab(45.95% 0.1719 -0.0535)
OKLCHoklch(45.95% 0.18 342.7)
XYZxyz(15.7589, 8.2595, 16.6806)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951872 #18953B
analogous
#7A1895 #951872 #951834
triadic
#951872 #729518 #187295
tetradic
#951872 #957A18 #18953B #183495
square
#951872 #957A18 #18953B #183495
split-complementary
#951872 #349518 #18957A
monochromatic
#2C0721 #60104A #951872 #CA209A #E146B6

Accessibility & contrast

On white

7.92
#951872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#951872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951872
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951872#FFFFFF#000000##FFFFFF
##9518721.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#9F1945
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #951872;
/* rgb */ color: rgb(149, 24, 114);
/* oklch */ color: oklch(45.9% 0.180 342.7);
Tailwind
colors: {
  custom: {
    50: '#b8669a',
    500: '#951872',
    950: '#000000',
  },
}
SCSS
$custom: #951872;
$custom-light: #b8669a;
$custom-dark: #000000;
JSON
{
  "hex": "#951872",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 316.8,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.18,
    "h": 342.7
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#951872
secondary
#46C269
accent
#EF6C39
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951872

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

Preview Lab → · Contrast checker → · Palette generator →

#951872 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva