#9A2548#9A2548

#9A2548 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.153 H 8.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9A2548
RGBrgb(154, 37, 72)
HSLhsl(342, 61%, 37%)
HSVhsv(342, 76%, 60%)
CMYKcmyk(0%, 76%, 53.2%, 39.6%)
CIE-LABlab(35.33, 49.91, 8.36)
CIE-LCHlch(35.33, 50.61, 9.51°)
OKLaboklab(46.23% 0.152 0.0215)
OKLCHoklch(46.23% 0.153 8)
XYZxyz(15.1591, 8.6631, 7.0036)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2548 #259A77
analogous
#9A2583 #9A2548 #9A3C25
triadic
#9A2548 #489A25 #25489A
tetradic
#9A2548 #839A25 #259A77 #3C259A
square
#9A2548 #839A25 #259A77 #3C259A
split-complementary
#9A2548 #259A3C #25839A
monochromatic
#370D1A #691931 #9A2548 #CB315F #D96085

Accessibility & contrast

On white

7.69
#9A2548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9A2548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2548
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2548#FFFFFF#000000##FFFFFF
##9A25481.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434449
Deuteranopia (green-blind)
#615C45
Tritanopia (blue-blind)
#A80534
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a2548;
/* rgb */ color: rgb(154, 37, 72);
/* oklch */ color: oklch(46.2% 0.153 8.0);
Tailwind
colors: {
  custom: {
    50: '#be6a7a',
    500: '#9a2548',
    950: '#000000',
  },
}
SCSS
$custom: #9a2548;
$custom-light: #be6a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2548",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 342.051,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46226,
    "c": 0.15347,
    "h": 8
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#9A2548
secondary
#5DBEA1
accent
#E4B443
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A2548

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

Preview Lab → · Contrast checker → · Palette generator →

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