#952157#952157

#952157 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.158 H 357.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#952157
RGBrgb(149, 33, 87)
HSLhsl(332, 64%, 36%)
HSVhsv(332, 78%, 58%)
CMYKcmyk(0%, 77.9%, 41.6%, 41.6%)
CIE-LABlab(34.33, 51.21, -2.91)
CIE-LCHlch(34.33, 51.29, 356.74°)
OKLaboklab(45.46% 0.1574 -0.007)
OKLCHoklch(45.46% 0.158 357.4)
XYZxyz(14.6596, 8.1673, 9.8194)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952157 #21955F
analogous
#952191 #952157 #952521
triadic
#952157 #579521 #215795
tetradic
#952157 #919521 #21955F #252195
square
#952157 #919521 #21955F #252195
split-complementary
#952157 #219525 #219195
monochromatic
#310B1C #63163A #952157 #C72C74 #DA5794

Accessibility & contrast

On white

7.98
#952157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#952157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952157
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952157#FFFFFF#000000##FFFFFF
##9521571.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4358
Deuteranopia (green-blind)
#5A5954
Tritanopia (blue-blind)
#A20F39
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #952157;
/* rgb */ color: rgb(149, 33, 87);
/* oklch */ color: oklch(45.5% 0.158 357.4);
Tailwind
colors: {
  custom: {
    50: '#b96886',
    500: '#952157',
    950: '#000000',
  },
}
SCSS
$custom: #952157;
$custom-light: #b96886;
$custom-dark: #000000;
JSON
{
  "hex": "#952157",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 332.069,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45459,
    "c": 0.15753,
    "h": 357.4
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#952157
secondary
#54BE8D
accent
#E79A41
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #952157

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

Preview Lab → · Contrast checker → · Palette generator →

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