#9D2271#9D2271

#9D2271 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.175 H 346.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9D2271
RGBrgb(157, 34, 113)
HSLhsl(321, 64%, 37%)
HSVhsv(321, 78%, 62%)
CMYKcmyk(0%, 78.3%, 28%, 38.4%)
CIE-LABlab(36.94, 56.02, -15.43)
CIE-LCHlch(36.94, 58.11, 344.61°)
OKLaboklab(47.97% 0.1705 -0.0408)
OKLCHoklch(47.97% 0.175 346.5)
XYZxyz(17.4581, 9.5064, 16.5351)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2271 #229D4E
analogous
#8B229D #9D2271 #9D2234
triadic
#9D2271 #719D22 #22719D
tetradic
#9D2271 #9D8B22 #229D4E #22349D
square
#9D2271 #9D8B22 #229D4E #22349D
split-complementary
#9D2271 #349D22 #229D8B
monochromatic
#380C29 #6B174D #9D2271 #CF2D95 #DC5DAF

Accessibility & contrast

On white

7.24
#9D2271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D2271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2271
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2271#FFFFFF#000000##FFFFFF
##9D22711.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A73
Deuteranopia (green-blind)
#595E6E
Tritanopia (blue-blind)
#A81E47
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2271;
/* rgb */ color: rgb(157, 34, 113);
/* oklch */ color: oklch(48.0% 0.175 346.5);
Tailwind
colors: {
  custom: {
    50: '#be6b9a',
    500: '#9d2271',
    950: '#000000',
  },
}
SCSS
$custom: #9d2271;
$custom-light: #be6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2271",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 321.463,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47965,
    "c": 0.17528,
    "h": 346.5
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#9D2271
secondary
#5AC17F
accent
#E77C40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2271

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

Preview Lab → · Contrast checker → · Palette generator →

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