#9D2150#9D2150

#9D2150 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.162 H 3.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9D2150
RGBrgb(157, 33, 80)
HSLhsl(337, 65%, 37%)
HSVhsv(337, 79%, 62%)
CMYKcmyk(0%, 79%, 49%, 38.4%)
CIE-LABlab(35.67, 52.78, 3.75)
CIE-LCHlch(35.67, 52.91, 4.07°)
OKLaboklab(46.65% 0.1617 0.0101)
OKLCHoklch(46.65% 0.162 3.6)
XYZxyz(15.8978, 8.8372, 8.4565)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2150 #219D6E
analogous
#9D218E #9D2150 #9D3021
triadic
#9D2150 #509D21 #21509D
tetradic
#9D2150 #8E9D21 #219D6E #30219D
square
#9D2150 #8E9D21 #219D6E #30219D
split-complementary
#9D2150 #219D30 #218E9D
monochromatic
#380C1C #6A1636 #9D2150 #D02C6A #DD5C8D

Accessibility & contrast

On white

7.59
#9D2150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9D2150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2150
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2150#FFFFFF#000000##FFFFFF
##9D21501.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404451
Deuteranopia (green-blind)
#615D4D
Tritanopia (blue-blind)
#AB0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2150;
/* rgb */ color: rgb(157, 33, 80);
/* oklch */ color: oklch(46.7% 0.162 3.6);
Tailwind
colors: {
  custom: {
    50: '#c06980',
    500: '#9d2150',
    950: '#000000',
  },
}
SCSS
$custom: #9d2150;
$custom-light: #c06980;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2150",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 80
  },
  "hsl": {
    "h": 337.258,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46654,
    "c": 0.16203,
    "h": 3.6
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#9D2150
secondary
#59C19A
accent
#E8A840
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D2150

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

Preview Lab → · Contrast checker → · Palette generator →

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