#952158#952158

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

Color values

HEX#952158
RGBrgb(149, 33, 88)
HSLhsl(332, 64%, 36%)
HSVhsv(332, 78%, 58%)
CMYKcmyk(0%, 77.9%, 40.9%, 41.6%)
CIE-LABlab(34.36, 51.31, -3.51)
CIE-LCHlch(34.36, 51.43, 356.08°)
OKLaboklab(45.5% 0.1577 -0.0086)
OKLCHoklch(45.5% 0.158 356.9)
XYZxyz(14.7008, 8.1837, 10.0361)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952158 #21955E
analogous
#952192 #952158 #952421
triadic
#952158 #589521 #215895
tetradic
#952158 #929521 #21955E #242195
square
#952158 #929521 #21955E #242195
split-complementary
#952158 #219524 #219295
monochromatic
#310B1D #63163A #952158 #C72C76 #DA5795

Accessibility & contrast

On white

7.97
#952158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#952158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952158
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952158#FFFFFF#000000##FFFFFF
##9521581.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4359
Deuteranopia (green-blind)
#5A5955
Tritanopia (blue-blind)
#A11039
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #952158;
/* rgb */ color: rgb(149, 33, 88);
/* oklch */ color: oklch(45.5% 0.158 356.9);
Tailwind
colors: {
  custom: {
    50: '#b96887',
    500: '#952158',
    950: '#000000',
  },
}
SCSS
$custom: #952158;
$custom-light: #b96887;
$custom-dark: #000000;
JSON
{
  "hex": "#952158",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 331.552,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45495,
    "c": 0.15793,
    "h": 356.9
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#952158
secondary
#54BE8C
accent
#E79841
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #952158

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

Preview Lab → · Contrast checker → · Palette generator →

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