#9D215F#9D215F

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

Color values

HEX#9D215F
RGBrgb(157, 33, 95)
HSLhsl(330, 65%, 37%)
HSVhsv(330, 79%, 62%)
CMYKcmyk(0%, 79%, 39.5%, 38.4%)
CIE-LABlab(36.15, 54.24, -5.20)
CIE-LCHlch(36.15, 54.49, 354.53°)
OKLaboklab(47.16% 0.1668 -0.013)
OKLCHoklch(47.16% 0.167 355.5)
XYZxyz(16.5152, 9.0841, 11.7080)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D215F #219D5F
analogous
#9D219D #9D215F #9D2121
triadic
#9D215F #5F9D21 #215F9D
tetradic
#9D215F #9D9D21 #219D5F #21219D
square
#9D215F #9D9D21 #219D5F #21219D
split-complementary
#9D215F #219D21 #219D9D
monochromatic
#380C22 #6A1640 #9D215F #D02C7E #DD5C9C

Accessibility & contrast

On white

7.46
#9D215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D215F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D215F#FFFFFF#000000##FFFFFF
##9D215F1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d215f;
/* rgb */ color: rgb(157, 33, 95);
/* oklch */ color: oklch(47.2% 0.167 355.5);
Tailwind
colors: {
  custom: {
    50: '#bf6a8c',
    500: '#9d215f',
    950: '#000000',
  },
}
SCSS
$custom: #9d215f;
$custom-light: #bf6a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d215f",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 330,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4716,
    "c": 0.16727,
    "h": 355.5
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#9D215F
secondary
#59C18D
accent
#E89440
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D215F

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

Preview Lab → · Contrast checker → · Palette generator →

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