#9E2275#9E2275

#9E2275 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.178 H 345.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9E2275
RGBrgb(158, 34, 117)
HSLhsl(320, 65%, 38%)
HSVhsv(320, 78%, 62%)
CMYKcmyk(0%, 78.5%, 25.9%, 38%)
CIE-LABlab(37.30, 56.78, -17.38)
CIE-LCHlch(37.30, 59.38, 342.99°)
OKLaboklab(48.31% 0.1722 -0.0463)
OKLCHoklch(48.31% 0.178 345)
XYZxyz(17.8842, 9.6995, 17.7565)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2275 #229E4B
analogous
#89229E #9E2275 #9E2237
triadic
#9E2275 #759E22 #22759E
tetradic
#9E2275 #9E8922 #229E4B #22379E
square
#9E2275 #9E8922 #229E4B #22379E
split-complementary
#9E2275 #379E22 #229E89
monochromatic
#390C2A #6C1750 #9E2275 #D02D9A #DC5EB3

Accessibility & contrast

On white

7.14
#9E2275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E2275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2275
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2275#FFFFFF#000000##FFFFFF
##9E22751.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A77
Deuteranopia (green-blind)
#595F72
Tritanopia (blue-blind)
#A92049
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2275;
/* rgb */ color: rgb(158, 34, 117);
/* oklch */ color: oklch(48.3% 0.178 345.0);
Tailwind
colors: {
  custom: {
    50: '#bf6b9d',
    500: '#9e2275',
    950: '#000000',
  },
}
SCSS
$custom: #9e2275;
$custom-light: #bf6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2275",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 319.839,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48313,
    "c": 0.17827,
    "h": 345
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#9E2275
secondary
#5BC17D
accent
#E87840
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2275

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

Preview Lab → · Contrast checker → · Palette generator →

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