#9D284C#9D284C

#9D284C is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.1% C 0.154 H 7.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9D284C
RGBrgb(157, 40, 76)
HSLhsl(342, 59%, 39%)
HSVhsv(342, 75%, 62%)
CMYKcmyk(0%, 74.5%, 51.6%, 38.4%)
CIE-LABlab(36.38, 50.10, 7.35)
CIE-LCHlch(36.38, 50.64, 8.35°)
OKLaboklab(47.15% 0.1527 0.0191)
OKLCHoklch(47.15% 0.154 7.1)
XYZxyz(15.9693, 9.2097, 7.7728)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D284C #289D79
analogous
#9D2886 #9D284C #9D3E28
triadic
#9D284C #4C9D28 #284C9D
tetradic
#9D284C #869D28 #289D79 #3E289D
square
#9D284C #869D28 #289D79 #3E289D
split-complementary
#9D284C #289D3E #28869D
monochromatic
#3B0F1D #6C1C34 #9D284C #CC3664 #D8678A

Accessibility & contrast

On white

7.39
#9D284C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9D284C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D284C
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D284C#FFFFFF#000000##FFFFFF
##9D284C1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474D
Deuteranopia (green-blind)
#635E49
Tritanopia (blue-blind)
#AB0D37
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d284c;
/* rgb */ color: rgb(157, 40, 76);
/* oklch */ color: oklch(47.1% 0.154 7.1);
Tailwind
colors: {
  custom: {
    50: '#c06c7d',
    500: '#9d284c',
    950: '#000000',
  },
}
SCSS
$custom: #9d284c;
$custom-light: #c06c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d284c",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 341.538,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47146,
    "c": 0.15391,
    "h": 7.1
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#9D284C
secondary
#62BEA2
accent
#E3B245
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D284C

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

Preview Lab → · Contrast checker → · Palette generator →

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