#9D2278#9D2278

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

Color values

HEX#9D2278
RGBrgb(157, 34, 120)
HSLhsl(318, 64%, 37%)
HSVhsv(318, 78%, 62%)
CMYKcmyk(0%, 78.3%, 23.6%, 38.4%)
CIE-LABlab(37.24, 56.93, -19.35)
CIE-LCHlch(37.24, 60.13, 341.22°)
OKLaboklab(48.28% 0.1718 -0.0518)
OKLCHoklch(48.28% 0.179 343.2)
XYZxyz(17.8675, 9.6701, 18.6912)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2278 #229D47
analogous
#85229D #9D2278 #9D223A
triadic
#9D2278 #789D22 #22789D
tetradic
#9D2278 #9D8522 #229D47 #223A9D
square
#9D2278 #9D8522 #229D47 #223A9D
split-complementary
#9D2278 #3A9D22 #229D85
monochromatic
#380C2B #6B1752 #9D2278 #CF2D9E #DC5DB6

Accessibility & contrast

On white

7.16
#9D2278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D2278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2278
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2278#FFFFFF#000000##FFFFFF
##9D22781.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7A
Deuteranopia (green-blind)
#575F75
Tritanopia (blue-blind)
#A7224B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2278;
/* rgb */ color: rgb(157, 34, 120);
/* oklch */ color: oklch(48.3% 0.179 343.2);
Tailwind
colors: {
  custom: {
    50: '#be6b9f',
    500: '#9d2278',
    950: '#000000',
  },
}
SCSS
$custom: #9d2278;
$custom-light: #be6b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2278",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 318.049,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48283,
    "c": 0.17943,
    "h": 343.2
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#9D2278
secondary
#5AC179
accent
#E77340
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2278

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

Preview Lab → · Contrast checker → · Palette generator →

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