#952771#952771

#952771 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.164 H 344.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#952771
RGBrgb(149, 39, 113)
HSLhsl(320, 59%, 37%)
HSVhsv(320, 74%, 58%)
CMYKcmyk(0%, 73.8%, 24.2%, 41.6%)
CIE-LABlab(36.05, 52.30, -16.92)
CIE-LCHlch(36.05, 54.97, 342.07°)
OKLaboklab(47.04% 0.1578 -0.0451)
OKLCHoklch(47.04% 0.164 344)
XYZxyz(16.1012, 9.0345, 16.5155)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952771 #27954B
analogous
#822795 #952771 #95273A
triadic
#952771 #719527 #277195
tetradic
#952771 #958227 #27954B #273A95
square
#952771 #958227 #27954B #273A95
split-complementary
#952771 #3A9527 #279582
monochromatic
#340E27 #641A4C #952771 #C63496 #D661AF

Accessibility & contrast

On white

7.48
#952771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#952771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952771
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952771#FFFFFF#000000##FFFFFF
##9527711.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#555B6E
Tritanopia (blue-blind)
#9F2648
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #952771;
/* rgb */ color: rgb(149, 39, 113);
/* oklch */ color: oklch(47.0% 0.164 344.0);
Tailwind
colors: {
  custom: {
    50: '#b86c9a',
    500: '#952771',
    950: '#000000',
  },
}
SCSS
$custom: #952771;
$custom-light: #b86c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#952771",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 319.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.16417,
    "h": 344
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#952771
secondary
#5DBB7C
accent
#E27946
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #952771

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

Preview Lab → · Contrast checker → · Palette generator →

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