#9E2279#9E2279

#9E2279 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.181 H 343.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9E2279
RGBrgb(158, 34, 121)
HSLhsl(318, 65%, 38%)
HSVhsv(318, 78%, 62%)
CMYKcmyk(0%, 78.5%, 23.4%, 38%)
CIE-LABlab(37.47, 57.30, -19.61)
CIE-LCHlch(37.47, 60.57, 341.11°)
OKLaboklab(48.5% 0.1729 -0.0525)
OKLCHoklch(48.5% 0.181 343.1)
XYZxyz(18.1245, 9.7956, 19.0217)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2279 #229E47
analogous
#85229E #9E2279 #9E223B
triadic
#9E2279 #799E22 #22799E
tetradic
#9E2279 #9E8522 #229E47 #223B9E
square
#9E2279 #9E8522 #229E47 #223B9E
split-complementary
#9E2279 #3B9E22 #229E85
monochromatic
#390C2C #6C1752 #9E2279 #D02DA0 #DC5EB7

Accessibility & contrast

On white

7.10
#9E2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9E2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2279
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2279#FFFFFF#000000##FFFFFF
##9E22791.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7B
Deuteranopia (green-blind)
#575F76
Tritanopia (blue-blind)
#A8224B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2279;
/* rgb */ color: rgb(158, 34, 121);
/* oklch */ color: oklch(48.5% 0.181 343.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ba0',
    500: '#9e2279',
    950: '#000000',
  },
}
SCSS
$custom: #9e2279;
$custom-light: #bf6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2279",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 317.903,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48498,
    "c": 0.18068,
    "h": 343.1
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#9E2279
secondary
#5BC179
accent
#E87240
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9E2279

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

Preview Lab → · Contrast checker → · Palette generator →

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