#952172#952172

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

Color values

HEX#952172
RGBrgb(149, 33, 114)
HSLhsl(318, 64%, 36%)
HSVhsv(318, 78%, 58%)
CMYKcmyk(0%, 77.9%, 23.5%, 41.6%)
CIE-LABlab(35.39, 54.44, -18.57)
CIE-LCHlch(35.39, 57.52, 341.16°)
OKLaboklab(46.58% 0.1642 -0.0497)
OKLCHoklch(46.58% 0.172 343.2)
XYZxyz(15.9762, 8.6939, 16.7531)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952172 #219544
analogous
#7E2195 #952172 #952138
triadic
#952172 #729521 #217295
tetradic
#952172 #957E21 #219544 #213895
square
#952172 #957E21 #219544 #213895
split-complementary
#952172 #389521 #21957E
monochromatic
#310B25 #63164C #952172 #C72C98 #DA57B2

Accessibility & contrast

On white

7.67
#952172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952172
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952172#FFFFFF#000000##FFFFFF
##9521721.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#9F2147
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #952172;
/* rgb */ color: rgb(149, 33, 114);
/* oklch */ color: oklch(46.6% 0.172 343.2);
Tailwind
colors: {
  custom: {
    50: '#b8699a',
    500: '#952172',
    950: '#000000',
  },
}
SCSS
$custom: #952172;
$custom-light: #b8699a;
$custom-dark: #000000;
JSON
{
  "hex": "#952172",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 318.103,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46577,
    "c": 0.17155,
    "h": 343.2
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#952172
secondary
#54BE74
accent
#E77341
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #952172

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

Preview Lab → · Contrast checker → · Palette generator →

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