#9E2181#9E2181

#9E2181 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.187 H 339.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9E2181
RGBrgb(158, 33, 129)
HSLhsl(314, 65%, 37%)
HSVhsv(314, 79%, 62%)
CMYKcmyk(0%, 79.1%, 18.4%, 38%)
CIE-LABlab(37.74, 58.68, -24.17)
CIE-LCHlch(37.74, 63.47, 337.61°)
OKLaboklab(48.81% 0.1749 -0.0654)
OKLCHoklch(48.81% 0.187 339.5)
XYZxyz(18.6074, 9.9437, 21.7040)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2181 #219E3E
analogous
#7D219E #9E2181 #9E2143
triadic
#9E2181 #819E21 #21819E
tetradic
#9E2181 #9E7D21 #219E3E #21439E
square
#9E2181 #9E7D21 #219E3E #21439E
split-complementary
#9E2181 #439E21 #219E7D
monochromatic
#390C2E #6B1658 #9E2181 #D12CAA #DD5CBF

Accessibility & contrast

On white

7.03
#9E2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E2181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2181
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2181#FFFFFF#000000##FFFFFF
##9E21811.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C84
Deuteranopia (green-blind)
#54607E
Tritanopia (blue-blind)
#A7264F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2181;
/* rgb */ color: rgb(158, 33, 129);
/* oklch */ color: oklch(48.8% 0.187 339.5);
Tailwind
colors: {
  custom: {
    50: '#bf6ba6',
    500: '#9e2181',
    950: '#000000',
  },
}
SCSS
$custom: #9e2181;
$custom-light: #bf6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2181",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 313.92,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.18677,
    "h": 339.5
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#9E2181
secondary
#59C172
accent
#E8673F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E2181

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

Preview Lab → · Contrast checker → · Palette generator →

#9E2181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva