#952174#952174

#952174 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.173 H 342.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#952174
RGBrgb(149, 33, 116)
HSLhsl(317, 64%, 36%)
HSVhsv(317, 78%, 58%)
CMYKcmyk(0%, 77.9%, 22.1%, 41.6%)
CIE-LABlab(35.48, 54.71, -19.69)
CIE-LCHlch(35.48, 58.15, 340.21°)
OKLaboklab(46.67% 0.1645 -0.0529)
OKLCHoklch(46.67% 0.173 342.2)
XYZxyz(16.0912, 8.7399, 17.3592)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952174 #219542
analogous
#7C2195 #952174 #95213A
triadic
#952174 #749521 #217495
tetradic
#952174 #957C21 #219542 #213A95
square
#952174 #957C21 #219542 #213A95
split-complementary
#952174 #3A9521 #21957C
monochromatic
#310B26 #63164D #952174 #C72C9B #DA57B4

Accessibility & contrast

On white

7.64
#952174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#952174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952174
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952174#FFFFFF#000000##FFFFFF
##9521741.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4776
Deuteranopia (green-blind)
#525A71
Tritanopia (blue-blind)
#9F2248
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #952174;
/* rgb */ color: rgb(149, 33, 116);
/* oklch */ color: oklch(46.7% 0.173 342.2);
Tailwind
colors: {
  custom: {
    50: '#b8699c',
    500: '#952174',
    950: '#000000',
  },
}
SCSS
$custom: #952174;
$custom-light: #b8699c;
$custom-dark: #000000;
JSON
{
  "hex": "#952174",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 317.069,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46672,
    "c": 0.17282,
    "h": 342.2
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#952174
secondary
#54BE72
accent
#E77041
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #952174

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

Preview Lab → · Contrast checker → · Palette generator →

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