#9D2163#9D2163

#9D2163 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.169 H 353.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9D2163
RGBrgb(157, 33, 99)
HSLhsl(328, 65%, 37%)
HSVhsv(328, 79%, 62%)
CMYKcmyk(0%, 79%, 36.9%, 38.4%)
CIE-LABlab(36.29, 54.68, -7.54)
CIE-LCHlch(36.29, 55.19, 352.15°)
OKLaboklab(47.31% 0.1679 -0.0193)
OKLCHoklch(47.31% 0.169 353.5)
XYZxyz(16.7017, 9.1587, 12.6903)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2163 #219D5B
analogous
#99219D #9D2163 #9D2125
triadic
#9D2163 #639D21 #21639D
tetradic
#9D2163 #9D9921 #219D5B #21259D
square
#9D2163 #9D9921 #219D5B #21259D
split-complementary
#9D2163 #259D21 #219D99
monochromatic
#380C23 #6A1643 #9D2163 #D02C83 #DD5CA0

Accessibility & contrast

On white

7.42
#9D2163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2163
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2163#FFFFFF#000000##FFFFFF
##9D21631.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4765
Deuteranopia (green-blind)
#5D5D60
Tritanopia (blue-blind)
#AA123F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d2163;
/* rgb */ color: rgb(157, 33, 99);
/* oklch */ color: oklch(47.3% 0.169 353.5);
Tailwind
colors: {
  custom: {
    50: '#bf6a8f',
    500: '#9d2163',
    950: '#000000',
  },
}
SCSS
$custom: #9d2163;
$custom-light: #bf6a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2163",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 328.065,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4731,
    "c": 0.16903,
    "h": 353.5
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#9D2163
secondary
#59C18A
accent
#E88E40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D2163

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

Preview Lab → · Contrast checker → · Palette generator →

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