#9D225F#9D225F

#9D225F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.166 H 355.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9D225F
RGBrgb(157, 34, 95)
HSLhsl(330, 64%, 37%)
HSVhsv(330, 78%, 62%)
CMYKcmyk(0%, 78.3%, 39.5%, 38.4%)
CIE-LABlab(36.25, 53.94, -5.04)
CIE-LCHlch(36.25, 54.17, 354.66°)
OKLaboklab(47.24% 0.1658 -0.0126)
OKLCHoklch(47.24% 0.166 355.7)
XYZxyz(16.5434, 9.1405, 11.7174)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D225F #229D60
analogous
#9D229C #9D225F #9D2322
triadic
#9D225F #5F9D22 #225F9D
tetradic
#9D225F #9C9D22 #229D60 #23229D
square
#9D225F #9C9D22 #229D60 #23229D
split-complementary
#9D225F #229D23 #229C9D
monochromatic
#380C22 #6B1741 #9D225F #CF2D7D #DC5D9C

Accessibility & contrast

On white

7.43
#9D225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9D225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D225F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D225F#FFFFFF#000000##FFFFFF
##9D225F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4761
Deuteranopia (green-blind)
#5E5D5C
Tritanopia (blue-blind)
#AA103E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d225f;
/* rgb */ color: rgb(157, 34, 95);
/* oklch */ color: oklch(47.2% 0.166 355.7);
Tailwind
colors: {
  custom: {
    50: '#bf6a8c',
    500: '#9d225f',
    950: '#000000',
  },
}
SCSS
$custom: #9d225f;
$custom-light: #bf6a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d225f",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 330.244,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.16627,
    "h": 355.7
  },
  "luminance": 0.09138
}

Semantic roles & 50–950 ramp

primary
#9D225F
secondary
#5AC18E
accent
#E79540
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D225F

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

Preview Lab → · Contrast checker → · Palette generator →

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