#9A2146#9A2146

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

Color values

HEX#9A2146
RGBrgb(154, 33, 70)
HSLhsl(342, 65%, 37%)
HSVhsv(342, 79%, 60%)
CMYKcmyk(0%, 78.6%, 54.5%, 39.6%)
CIE-LABlab(34.81, 51.07, 8.93)
CIE-LCHlch(34.81, 51.84, 9.92°)
OKLaboklab(45.82% 0.1554 0.0228)
OKLCHoklch(45.82% 0.157 8.4)
XYZxyz(14.9772, 8.4021, 6.6263)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2146 #219A75
analogous
#9A2183 #9A2146 #9A3921
triadic
#9A2146 #469A21 #21469A
tetradic
#9A2146 #839A21 #219A75 #39219A
square
#9A2146 #839A21 #219A75 #39219A
split-complementary
#9A2146 #219A39 #21839A
monochromatic
#350B18 #68162F #9A2146 #CC2C5D #DC5A81

Accessibility & contrast

On white

7.84
#9A2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9A2146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2146
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2146#FFFFFF#000000##FFFFFF
##9A21461.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2146;
/* rgb */ color: rgb(154, 33, 70);
/* oklch */ color: oklch(45.8% 0.157 8.4);
Tailwind
colors: {
  custom: {
    50: '#be6979',
    500: '#9a2146',
    950: '#000000',
  },
}
SCSS
$custom: #9a2146;
$custom-light: #be6979;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2146",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 341.653,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45824,
    "c": 0.1571,
    "h": 8.4
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#9A2146
secondary
#57C0A0
accent
#E8B440
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A2146

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

Preview Lab → · Contrast checker → · Palette generator →

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