#9E2167#9E2167

#9E2167 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.172 H 351.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9E2167
RGBrgb(158, 33, 103)
HSLhsl(326, 65%, 37%)
HSVhsv(326, 79%, 62%)
CMYKcmyk(0%, 79.1%, 34.8%, 38%)
CIE-LABlab(36.63, 55.39, -9.56)
CIE-LCHlch(36.63, 56.21, 350.21°)
OKLaboklab(47.64% 0.1699 -0.0247)
OKLCHoklch(47.64% 0.172 351.7)
XYZxyz(17.0936, 9.3382, 13.7316)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2167 #219E58
analogous
#97219E #9E2167 #9E2129
triadic
#9E2167 #679E21 #21679E
tetradic
#9E2167 #9E9721 #219E58 #21299E
square
#9E2167 #9E9721 #219E58 #21299E
split-complementary
#9E2167 #299E21 #219E97
monochromatic
#390C25 #6B1646 #9E2167 #D12C88 #DD5CA4

Accessibility & contrast

On white

7.32
#9E2167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E2167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2167
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2167#FFFFFF#000000##FFFFFF
##9E21671.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394869
Deuteranopia (green-blind)
#5C5E64
Tritanopia (blue-blind)
#AA1541
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e2167;
/* rgb */ color: rgb(158, 33, 103);
/* oklch */ color: oklch(47.6% 0.172 351.7);
Tailwind
colors: {
  custom: {
    50: '#bf6a92',
    500: '#9e2167',
    950: '#000000',
  },
}
SCSS
$custom: #9e2167;
$custom-light: #bf6a92;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2167",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 326.4,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47641,
    "c": 0.17168,
    "h": 351.7
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#9E2167
secondary
#59C187
accent
#E88A3F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070D
muted
#827A7D

Preview Lab

Preview with #9E2167

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

Preview Lab → · Contrast checker → · Palette generator →

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