#952161#952161

#952161 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.162 H 351.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#952161
RGBrgb(149, 33, 97)
HSLhsl(327, 64%, 36%)
HSVhsv(327, 78%, 58%)
CMYKcmyk(0%, 77.9%, 34.9%, 41.6%)
CIE-LABlab(34.69, 52.31, -8.82)
CIE-LCHlch(34.69, 53.05, 350.42°)
OKLaboklab(45.84% 0.1604 -0.0228)
OKLCHoklch(45.84% 0.162 351.9)
XYZxyz(15.0969, 8.3422, 12.1221)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952161 #219555
analogous
#8F2195 #952161 #952127
triadic
#952161 #619521 #216195
tetradic
#952161 #958F21 #219555 #212795
square
#952161 #958F21 #219555 #212795
split-complementary
#952161 #279521 #21958F
monochromatic
#310B20 #631640 #952161 #C72C82 #DA579F

Accessibility & contrast

On white

7.87
#952161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#952161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952161
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952161#FFFFFF#000000##FFFFFF
##9521611.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364463
Deuteranopia (green-blind)
#57595E
Tritanopia (blue-blind)
#A1163E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #952161;
/* rgb */ color: rgb(149, 33, 97);
/* oklch */ color: oklch(45.8% 0.162 351.9);
Tailwind
colors: {
  custom: {
    50: '#b9698d',
    500: '#952161',
    950: '#000000',
  },
}
SCSS
$custom: #952161;
$custom-light: #b9698d;
$custom-dark: #000000;
JSON
{
  "hex": "#952161",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 326.897,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.16198,
    "h": 351.9
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#952161
secondary
#54BE83
accent
#E78B41
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #952161

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

Preview Lab → · Contrast checker → · Palette generator →

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