#952173#952173

#952173 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.172 H 342.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#952173
RGBrgb(149, 33, 115)
HSLhsl(318, 64%, 36%)
HSVhsv(318, 78%, 58%)
CMYKcmyk(0%, 77.9%, 22.8%, 41.6%)
CIE-LABlab(35.43, 54.57, -19.13)
CIE-LCHlch(35.43, 57.83, 340.68°)
OKLaboklab(46.63% 0.1644 -0.0513)
OKLCHoklch(46.63% 0.172 342.7)
XYZxyz(16.0334, 8.7168, 17.0545)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952173 #219543
analogous
#7D2195 #952173 #952139
triadic
#952173 #739521 #217395
tetradic
#952173 #957D21 #219543 #213995
square
#952173 #957D21 #219543 #213995
split-complementary
#952173 #399521 #21957D
monochromatic
#310B26 #63164C #952173 #C72C9A #DA57B3

Accessibility & contrast

On white

7.66
#952173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#952173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952173
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952173#FFFFFF#000000##FFFFFF
##9521731.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952173;
/* rgb */ color: rgb(149, 33, 115);
/* oklch */ color: oklch(46.6% 0.172 342.7);
Tailwind
colors: {
  custom: {
    50: '#b8699b',
    500: '#952173',
    950: '#000000',
  },
}
SCSS
$custom: #952173;
$custom-light: #b8699b;
$custom-dark: #000000;
JSON
{
  "hex": "#952173",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 317.586,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.17219,
    "h": 342.7
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#952173
secondary
#54BE73
accent
#E77241
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #952173

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

Preview Lab → · Contrast checker → · Palette generator →

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