#9A2048#9A2048

#9A2048 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.158 H 7.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9A2048
RGBrgb(154, 32, 72)
HSLhsl(340, 66%, 36%)
HSVhsv(340, 79%, 60%)
CMYKcmyk(0%, 79.2%, 53.2%, 39.6%)
CIE-LABlab(34.75, 51.54, 7.55)
CIE-LCHlch(34.75, 52.09, 8.33°)
OKLaboklab(45.8% 0.1572 0.0195)
OKLCHoklch(45.8% 0.158 7.1)
XYZxyz(15.0140, 8.3731, 6.9552)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2048 #209A72
analogous
#9A2085 #9A2048 #9A3520
triadic
#9A2048 #489A20 #20489A
tetradic
#9A2048 #859A20 #209A72 #35209A
square
#9A2048 #859A20 #209A72 #35209A
split-complementary
#9A2048 #209A35 #20859A
monochromatic
#350B19 #671530 #9A2048 #CD2B60 #DC5883

Accessibility & contrast

On white

7.85
#9A2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9A2048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2048
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2048#FFFFFF#000000##FFFFFF
##9A20481.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404249
Deuteranopia (green-blind)
#605A45
Tritanopia (blue-blind)
#A80031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a2048;
/* rgb */ color: rgb(154, 32, 72);
/* oklch */ color: oklch(45.8% 0.158 7.1);
Tailwind
colors: {
  custom: {
    50: '#be687a',
    500: '#9a2048',
    950: '#000000',
  },
}
SCSS
$custom: #9a2048;
$custom-light: #be687a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2048",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 340.328,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45798,
    "c": 0.15841,
    "h": 7.1
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#9A2048
secondary
#56C09D
accent
#E9B13F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A2048

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

Preview Lab → · Contrast checker → · Palette generator →

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