#9E2875#9E2875

#9E2875 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.172 H 345.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9E2875
RGBrgb(158, 40, 117)
HSLhsl(321, 60%, 39%)
HSVhsv(321, 75%, 62%)
CMYKcmyk(0%, 74.7%, 25.9%, 38%)
CIE-LABlab(37.97, 54.87, -16.34)
CIE-LCHlch(37.97, 57.25, 343.42°)
OKLaboklab(48.8% 0.1662 -0.0434)
OKLCHoklch(48.8% 0.172 345.4)
XYZxyz(18.0710, 10.0730, 17.8188)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2875 #289E51
analogous
#8C289E #9E2875 #9E283A
triadic
#9E2875 #759E28 #28759E
tetradic
#9E2875 #9E8C28 #289E51 #283A9E
square
#9E2875 #9E8C28 #289E51 #283A9E
split-complementary
#9E2875 #3A9E28 #289E8C
monochromatic
#3C0F2D #6D1C51 #9E2875 #CC3798 #D968B1

Accessibility & contrast

On white

6.97
#9E2875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E2875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2875
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2875#FFFFFF#000000##FFFFFF
##9E28751.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D77
Deuteranopia (green-blind)
#5A6172
Tritanopia (blue-blind)
#A9264B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2875;
/* rgb */ color: rgb(158, 40, 117);
/* oklch */ color: oklch(48.8% 0.172 345.4);
Tailwind
colors: {
  custom: {
    50: '#bf6e9d',
    500: '#9e2875',
    950: '#000000',
  },
}
SCSS
$custom: #9e2875;
$custom-light: #bf6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2875",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 320.847,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48804,
    "c": 0.1718,
    "h": 345.4
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#9E2875
secondary
#63BF83
accent
#E37C45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2875

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

Preview Lab → · Contrast checker → · Palette generator →

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