#9D274A#9D274A

#9D274A is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.155 H 8.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9D274A
RGBrgb(157, 39, 74)
HSLhsl(342, 60%, 38%)
HSVhsv(342, 75%, 62%)
CMYKcmyk(0%, 75.2%, 52.9%, 38.4%)
CIE-LABlab(36.21, 50.29, 8.39)
CIE-LCHlch(36.21, 50.98, 9.47°)
OKLaboklab(47% 0.1531 0.0216)
OKLCHoklch(47% 0.155 8)
XYZxyz(15.8676, 9.1157, 7.4012)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D274A #279D7A
analogous
#9D2785 #9D274A #9D3F27
triadic
#9D274A #4A9D27 #274A9D
tetradic
#9D274A #859D27 #279D7A #3F279D
square
#9D274A #859D27 #279D7A #3F279D
split-complementary
#9D274A #279D3F #27859D
monochromatic
#3B0F1C #6C1B33 #9D274A #CD3562 #D96688

Accessibility & contrast

On white

7.44
#9D274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D274A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D274A#FFFFFF#000000##FFFFFF
##9D274A1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45464B
Deuteranopia (green-blind)
#635E47
Tritanopia (blue-blind)
#AB0836
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d274a;
/* rgb */ color: rgb(157, 39, 74);
/* oklch */ color: oklch(47.0% 0.155 8.0);
Tailwind
colors: {
  custom: {
    50: '#c06c7c',
    500: '#9d274a',
    950: '#000000',
  },
}
SCSS
$custom: #9d274a;
$custom-light: #c06c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d274a",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 342.203,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.1546,
    "h": 8
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#9D274A
secondary
#61BFA3
accent
#E3B444
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D274A

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

Preview Lab → · Contrast checker → · Palette generator →

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