#9E2874#9E2874

#9E2874 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.171 H 345.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9E2874
RGBrgb(158, 40, 116)
HSLhsl(321, 60%, 39%)
HSVhsv(321, 75%, 62%)
CMYKcmyk(0%, 74.7%, 26.6%, 38%)
CIE-LABlab(37.93, 54.74, -15.78)
CIE-LCHlch(37.93, 56.96, 343.92°)
OKLaboklab(48.76% 0.166 -0.0418)
OKLCHoklch(48.76% 0.171 345.9)
XYZxyz(18.0125, 10.0496, 17.5108)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2874 #289E52
analogous
#8D289E #9E2874 #9E2839
triadic
#9E2874 #749E28 #28749E
tetradic
#9E2874 #9E8D28 #289E52 #28399E
square
#9E2874 #9E8D28 #289E52 #28399E
split-complementary
#9E2874 #399E28 #289E8D
monochromatic
#3C0F2C #6D1C50 #9E2874 #CC3797 #D968B0

Accessibility & contrast

On white

6.98
#9E2874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2874
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2874#FFFFFF#000000##FFFFFF
##9E28741.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C76
Deuteranopia (green-blind)
#5B6171
Tritanopia (blue-blind)
#A9254A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2874;
/* rgb */ color: rgb(158, 40, 116);
/* oklch */ color: oklch(48.8% 0.171 345.9);
Tailwind
colors: {
  custom: {
    50: '#bf6e9c',
    500: '#9e2874',
    950: '#000000',
  },
}
SCSS
$custom: #9e2874;
$custom-light: #bf6e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2874",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 321.356,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.1712,
    "h": 345.9
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#9E2874
secondary
#63BF84
accent
#E37D45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2874

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

Preview Lab → · Contrast checker → · Palette generator →

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