#952871#952871

#952871 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.163 H 344.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#952871
RGBrgb(149, 40, 113)
HSLhsl(320, 58%, 37%)
HSVhsv(320, 73%, 58%)
CMYKcmyk(0%, 73.2%, 24.2%, 41.6%)
CIE-LABlab(36.18, 51.94, -16.72)
CIE-LCHlch(36.18, 54.57, 342.15°)
OKLaboklab(47.14% 0.1567 -0.0446)
OKLCHoklch(47.14% 0.163 344.1)
XYZxyz(16.1345, 9.1011, 16.5266)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952871 #28954C
analogous
#832895 #952871 #95283A
triadic
#952871 #719528 #287195
tetradic
#952871 #958328 #28954C #283A95
square
#952871 #958328 #28954C #283A95
split-complementary
#952871 #3A9528 #289583
monochromatic
#350E28 #651B4C #952871 #C53596 #D562AF

Accessibility & contrast

On white

7.45
#952871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#952871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952871
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952871#FFFFFF#000000##FFFFFF
##9528711.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344973
Deuteranopia (green-blind)
#555C6E
Tritanopia (blue-blind)
#9F2749
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #952871;
/* rgb */ color: rgb(149, 40, 113);
/* oklch */ color: oklch(47.1% 0.163 344.1);
Tailwind
colors: {
  custom: {
    50: '#b86c9a',
    500: '#952871',
    950: '#000000',
  },
}
SCSS
$custom: #952871;
$custom-light: #b86c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#952871",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 319.817,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.16296,
    "h": 344.1
  },
  "luminance": 0.09099
}

Semantic roles & 50–950 ramp

primary
#952871
secondary
#5EBB7D
accent
#E17A47
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #952871

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

Preview Lab → · Contrast checker → · Palette generator →

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