#9D2273#9D2273

#9D2273 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.176 H 345.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9D2273
RGBrgb(157, 34, 115)
HSLhsl(320, 64%, 37%)
HSVhsv(320, 78%, 62%)
CMYKcmyk(0%, 78.3%, 26.8%, 38.4%)
CIE-LABlab(37.03, 56.28, -16.55)
CIE-LCHlch(37.03, 58.66, 343.61°)
OKLaboklab(48.05% 0.1709 -0.044)
OKLCHoklch(48.05% 0.176 345.6)
XYZxyz(17.5720, 9.5519, 17.1346)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2273 #229D4C
analogous
#8A229D #9D2273 #9D2235
triadic
#9D2273 #739D22 #22739D
tetradic
#9D2273 #9D8A22 #229D4C #22359D
square
#9D2273 #9D8A22 #229D4C #22359D
split-complementary
#9D2273 #359D22 #229D8A
monochromatic
#380C29 #6B174E #9D2273 #CF2D98 #DC5DB1

Accessibility & contrast

On white

7.22
#9D2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9D2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2273
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2273#FFFFFF#000000##FFFFFF
##9D22731.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A75
Deuteranopia (green-blind)
#585F70
Tritanopia (blue-blind)
#A81F48
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2273;
/* rgb */ color: rgb(157, 34, 115);
/* oklch */ color: oklch(48.1% 0.176 345.6);
Tailwind
colors: {
  custom: {
    50: '#be6b9b',
    500: '#9d2273',
    950: '#000000',
  },
}
SCSS
$custom: #9d2273;
$custom-light: #be6b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2273",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 320.488,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48054,
    "c": 0.17643,
    "h": 345.6
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#9D2273
secondary
#5AC17D
accent
#E77940
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2273

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

Preview Lab → · Contrast checker → · Palette generator →

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