#952178#952178

#952178 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.175 H 340.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#952178
RGBrgb(149, 33, 120)
HSLhsl(315, 64%, 36%)
HSVhsv(315, 78%, 58%)
CMYKcmyk(0%, 77.9%, 19.5%, 41.6%)
CIE-LABlab(35.66, 55.26, -21.92)
CIE-LCHlch(35.66, 59.45, 338.37°)
OKLaboklab(46.87% 0.1651 -0.0592)
OKLCHoklch(46.87% 0.175 340.3)
XYZxyz(16.3289, 8.8350, 18.6110)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952178 #21953E
analogous
#782195 #952178 #95213E
triadic
#952178 #789521 #217895
tetradic
#952178 #957821 #21953E #213E95
square
#952178 #957821 #21953E #213E95
split-complementary
#952178 #3E9521 #219578
monochromatic
#310B27 #631650 #952178 #C72CA0 #DA57B9

Accessibility & contrast

On white

7.59
#952178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#952178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952178
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952178#FFFFFF#000000##FFFFFF
##9521781.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487A
Deuteranopia (green-blind)
#505A75
Tritanopia (blue-blind)
#9E254A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #952178;
/* rgb */ color: rgb(149, 33, 120);
/* oklch */ color: oklch(46.9% 0.175 340.3);
Tailwind
colors: {
  custom: {
    50: '#b86a9f',
    500: '#952178',
    950: '#000000',
  },
}
SCSS
$custom: #952178;
$custom-light: #b86a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#952178",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 315,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.17541,
    "h": 340.3
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#952178
secondary
#54BE6F
accent
#E76A41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #952178

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

Preview Lab → · Contrast checker → · Palette generator →

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