#9D225E#9D225E

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

Color values

HEX#9D225E
RGBrgb(157, 34, 94)
HSLhsl(331, 64%, 37%)
HSVhsv(331, 78%, 62%)
CMYKcmyk(0%, 78.3%, 40.1%, 38.4%)
CIE-LABlab(36.22, 53.83, -4.45)
CIE-LCHlch(36.22, 54.02, 355.27°)
OKLaboklab(47.2% 0.1655 -0.011)
OKLCHoklch(47.2% 0.166 356.2)
XYZxyz(16.4982, 9.1224, 11.4795)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D225E #229D61
analogous
#9D229B #9D225E #9D2422
triadic
#9D225E #5E9D22 #225E9D
tetradic
#9D225E #9B9D22 #229D61 #24229D
square
#9D225E #9B9D22 #229D61 #24229D
split-complementary
#9D225E #229D24 #229B9D
monochromatic
#380C22 #6B1740 #9D225E #CF2D7C #DC5D9B

Accessibility & contrast

On white

7.44
#9D225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D225E
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D225E#FFFFFF#000000##FFFFFF
##9D225E1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C475F
Deuteranopia (green-blind)
#5E5D5B
Tritanopia (blue-blind)
#AA0F3D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d225e;
/* rgb */ color: rgb(157, 34, 94);
/* oklch */ color: oklch(47.2% 0.166 356.2);
Tailwind
colors: {
  custom: {
    50: '#bf6a8b',
    500: '#9d225e',
    950: '#000000',
  },
}
SCSS
$custom: #9d225e;
$custom-light: #bf6a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d225e",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 330.732,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47202,
    "c": 0.16585,
    "h": 356.2
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#9D225E
secondary
#5AC18F
accent
#E79640
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D225E

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

Preview Lab → · Contrast checker → · Palette generator →

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