#9D225C#9D225C

#9D225C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.165 H 357.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9D225C
RGBrgb(157, 34, 92)
HSLhsl(332, 64%, 37%)
HSVhsv(332, 78%, 62%)
CMYKcmyk(0%, 78.3%, 41.4%, 38.4%)
CIE-LABlab(36.15, 53.62, -3.27)
CIE-LCHlch(36.15, 53.72, 356.51°)
OKLaboklab(47.13% 0.1649 -0.0079)
OKLCHoklch(47.13% 0.165 357.2)
XYZxyz(16.4096, 9.0870, 11.0130)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D225C #229D63
analogous
#9D229A #9D225C #9D2522
triadic
#9D225C #5C9D22 #225C9D
tetradic
#9D225C #9A9D22 #229D63 #25229D
square
#9D225C #9A9D22 #229D63 #25229D
split-complementary
#9D225C #229D25 #229A9D
monochromatic
#380C21 #6B173F #9D225C #CF2D79 #DC5D99

Accessibility & contrast

On white

7.45
#9D225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9D225C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D225C
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D225C#FFFFFF#000000##FFFFFF
##9D225C1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465D
Deuteranopia (green-blind)
#5F5D59
Tritanopia (blue-blind)
#AA0E3C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d225c;
/* rgb */ color: rgb(157, 34, 92);
/* oklch */ color: oklch(47.1% 0.165 357.2);
Tailwind
colors: {
  custom: {
    50: '#bf6a8a',
    500: '#9d225c',
    950: '#000000',
  },
}
SCSS
$custom: #9d225c;
$custom-light: #bf6a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d225c",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 331.707,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4713,
    "c": 0.16504,
    "h": 357.2
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#9D225C
secondary
#5AC190
accent
#E79940
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D225C

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

Preview Lab → · Contrast checker → · Palette generator →

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