#9A2046#9A2046

#9A2046 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.158 H 8.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9A2046
RGBrgb(154, 32, 70)
HSLhsl(341, 66%, 36%)
HSVhsv(341, 79%, 60%)
CMYKcmyk(0%, 79.2%, 54.5%, 39.6%)
CIE-LABlab(34.70, 51.38, 8.77)
CIE-LCHlch(34.70, 52.13, 9.69°)
OKLaboklab(45.74% 0.1564 0.0224)
OKLCHoklch(45.74% 0.158 8.2)
XYZxyz(14.9498, 8.3474, 6.6172)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2046 #209A74
analogous
#9A2083 #9A2046 #9A3720
triadic
#9A2046 #469A20 #20469A
tetradic
#9A2046 #839A20 #209A74 #37209A
square
#9A2046 #839A20 #209A74 #37209A
split-complementary
#9A2046 #209A37 #20839A
monochromatic
#350B18 #67152F #9A2046 #CD2B5D #DC5881

Accessibility & contrast

On white

7.87
#9A2046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2046
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2046#FFFFFF#000000##FFFFFF
##9A20461.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404247
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#A80030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a2046;
/* rgb */ color: rgb(154, 32, 70);
/* oklch */ color: oklch(45.7% 0.158 8.2);
Tailwind
colors: {
  custom: {
    50: '#be6879',
    500: '#9a2046',
    950: '#000000',
  },
}
SCSS
$custom: #9a2046;
$custom-light: #be6879;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2046",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 341.311,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45743,
    "c": 0.15803,
    "h": 8.2
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#9A2046
secondary
#56C09F
accent
#E9B43F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A2046

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

Preview Lab → · Contrast checker → · Palette generator →

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