#9D225A#9D225A

#9D225A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.164 H 358.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9D225A
RGBrgb(157, 34, 90)
HSLhsl(333, 64%, 37%)
HSVhsv(333, 78%, 62%)
CMYKcmyk(0%, 78.3%, 42.7%, 38.4%)
CIE-LABlab(36.09, 53.42, -2.08)
CIE-LCHlch(36.09, 53.46, 357.77°)
OKLaboklab(47.06% 0.1642 -0.0048)
OKLCHoklch(47.06% 0.164 358.3)
XYZxyz(16.3233, 9.0525, 10.5586)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D225A #229D65
analogous
#9D2298 #9D225A #9D2822
triadic
#9D225A #5A9D22 #225A9D
tetradic
#9D225A #989D22 #229D65 #28229D
square
#9D225A #989D22 #229D65 #28229D
split-complementary
#9D225A #229D28 #22989D
monochromatic
#380C20 #6B173D #9D225A #CF2D77 #DC5D97

Accessibility & contrast

On white

7.47
#9D225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9D225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D225A
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D225A#FFFFFF#000000##FFFFFF
##9D225A1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465B
Deuteranopia (green-blind)
#5F5D57
Tritanopia (blue-blind)
#AA0C3B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d225a;
/* rgb */ color: rgb(157, 34, 90);
/* oklch */ color: oklch(47.1% 0.164 358.3);
Tailwind
colors: {
  custom: {
    50: '#bf6a88',
    500: '#9d225a',
    950: '#000000',
  },
}
SCSS
$custom: #9d225a;
$custom-light: #bf6a88;
$custom-dark: #000000;
JSON
{
  "hex": "#9d225a",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 332.683,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.16427,
    "h": 358.3
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

primary
#9D225A
secondary
#5AC192
accent
#E79B40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D225A

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

Preview Lab → · Contrast checker → · Palette generator →

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