#952271#952271

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

Color values

HEX#952271
RGBrgb(149, 34, 113)
HSLhsl(319, 63%, 36%)
HSVhsv(319, 77%, 58%)
CMYKcmyk(0%, 77.2%, 24.2%, 41.6%)
CIE-LABlab(35.45, 53.99, -17.84)
CIE-LCHlch(35.45, 56.86, 341.72°)
OKLaboklab(46.61% 0.163 -0.0477)
OKLCHoklch(46.61% 0.17 343.7)
XYZxyz(15.9477, 8.7276, 16.4643)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952271 #229546
analogous
#7F2295 #952271 #952237
triadic
#952271 #719522 #227195
tetradic
#952271 #957F22 #229546 #223795
square
#952271 #957F22 #229546 #223795
split-complementary
#952271 #379522 #22957F
monochromatic
#310B25 #63174B #952271 #C72D97 #D958B1

Accessibility & contrast

On white

7.65
#952271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952271
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952271#FFFFFF#000000##FFFFFF
##9522711.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#9F2247
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #952271;
/* rgb */ color: rgb(149, 34, 113);
/* oklch */ color: oklch(46.6% 0.170 343.7);
Tailwind
colors: {
  custom: {
    50: '#b86a9a',
    500: '#952271',
    950: '#000000',
  },
}
SCSS
$custom: #952271;
$custom-light: #b86a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#952271",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 318.783,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46611,
    "c": 0.16987,
    "h": 343.7
  },
  "luminance": 0.08726
}

Semantic roles & 50–950 ramp

primary
#952271
secondary
#56BD76
accent
#E67542
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #952271

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

Preview Lab → · Contrast checker → · Palette generator →

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