#9D2378#9D2378

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

Color values

HEX#9D2378
RGBrgb(157, 35, 120)
HSLhsl(318, 64%, 38%)
HSVhsv(318, 78%, 62%)
CMYKcmyk(0%, 77.7%, 23.6%, 38.4%)
CIE-LABlab(37.35, 56.62, -19.19)
CIE-LCHlch(37.35, 59.79, 341.28°)
OKLaboklab(48.36% 0.1709 -0.0514)
OKLCHoklch(48.36% 0.178 343.3)
XYZxyz(17.8965, 9.7281, 18.7009)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2378 #239D48
analogous
#85239D #9D2378 #9D233B
triadic
#9D2378 #789D23 #23789D
tetradic
#9D2378 #9D8523 #239D48 #233B9D
square
#9D2378 #9D8523 #239D48 #233B9D
split-complementary
#9D2378 #3B9D23 #239D85
monochromatic
#390D2B #6B1852 #9D2378 #CF2E9E #DB5FB6

Accessibility & contrast

On white

7.13
#9D2378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9D2378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2378
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2378#FFFFFF#000000##FFFFFF
##9D23781.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2378;
/* rgb */ color: rgb(157, 35, 120);
/* oklch */ color: oklch(48.4% 0.178 343.3);
Tailwind
colors: {
  custom: {
    50: '#be6b9f',
    500: '#9d2378',
    950: '#000000',
  },
}
SCSS
$custom: #9d2378;
$custom-light: #be6b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2378",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 318.197,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4836,
    "c": 0.17841,
    "h": 343.3
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#9D2378
secondary
#5CC07A
accent
#E77341
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2378

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

Preview Lab → · Contrast checker → · Palette generator →

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