#9D2258#9D2258

#9D2258 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.164 H 359.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9D2258
RGBrgb(157, 34, 88)
HSLhsl(334, 64%, 37%)
HSVhsv(334, 78%, 62%)
CMYKcmyk(0%, 78.3%, 43.9%, 38.4%)
CIE-LABlab(36.02, 53.22, -0.89)
CIE-LCHlch(36.02, 53.23, 359.04°)
OKLaboklab(46.99% 0.1635 -0.0017)
OKLCHoklch(46.99% 0.164 359.4)
XYZxyz(16.2394, 9.0189, 10.1163)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2258 #229D67
analogous
#9D2295 #9D2258 #9D2A22
triadic
#9D2258 #589D22 #22589D
tetradic
#9D2258 #959D22 #229D67 #2A229D
square
#9D2258 #959D22 #229D67 #2A229D
split-complementary
#9D2258 #229D2A #22959D
monochromatic
#380C20 #6B173C #9D2258 #CF2D74 #DC5D95

Accessibility & contrast

On white

7.49
#9D2258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9D2258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2258
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2258#FFFFFF#000000##FFFFFF
##9D22581.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4659
Deuteranopia (green-blind)
#5F5D55
Tritanopia (blue-blind)
#AB093A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d2258;
/* rgb */ color: rgb(157, 34, 88);
/* oklch */ color: oklch(47.0% 0.164 359.4);
Tailwind
colors: {
  custom: {
    50: '#bf6a87',
    500: '#9d2258',
    950: '#000000',
  },
}
SCSS
$custom: #9d2258;
$custom-light: #bf6a87;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2258",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 333.659,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46992,
    "c": 0.16355,
    "h": 359.4
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#9D2258
secondary
#5AC194
accent
#E79E40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D2258

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

Preview Lab → · Contrast checker → · Palette generator →

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