#9A2D52#9A2D52

#9A2D52 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.3% C 0.147 H 4.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9A2D52
RGBrgb(154, 45, 82)
HSLhsl(340, 55%, 39%)
HSVhsv(340, 71%, 60%)
CMYKcmyk(0%, 70.8%, 46.8%, 39.6%)
CIE-LABlab(36.66, 47.86, 3.82)
CIE-LCHlch(36.66, 48.01, 4.57°)
OKLaboklab(47.3% 0.1463 0.0103)
OKLCHoklch(47.3% 0.147 4)
XYZxyz(15.7890, 9.3580, 8.9558)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D52 #2D9A75
analogous
#9A2D89 #9A2D52 #9A3F2D
triadic
#9A2D52 #529A2D #2D529A
tetradic
#9A2D52 #899A2D #2D9A75 #3F2D9A
square
#9A2D52 #899A2D #2D9A75 #3F2D9A
split-complementary
#9A2D52 #2D9A3F #2D899A
monochromatic
#3B1120 #6B1F39 #9A2D52 #C73E6C #D46D90

Accessibility & contrast

On white

7.31
#9A2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9A2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2D52
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D52#FFFFFF#000000##FFFFFF
##9A2D521.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#A71C3C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2d52;
/* rgb */ color: rgb(154, 45, 82);
/* oklch */ color: oklch(47.3% 0.147 4.0);
Tailwind
colors: {
  custom: {
    50: '#bd6e82',
    500: '#9a2d52',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d52;
$custom-light: #bd6e82;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d52",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 339.633,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47303,
    "c": 0.14665,
    "h": 4
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#9A2D52
secondary
#67BB9F
accent
#DEAC4A
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9A2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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