#9A2145#9A2145

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

Color values

HEX#9A2145
RGBrgb(154, 33, 69)
HSLhsl(342, 65%, 37%)
HSVhsv(342, 79%, 60%)
CMYKcmyk(0%, 78.6%, 55.2%, 39.6%)
CIE-LABlab(34.78, 50.99, 9.54)
CIE-LCHlch(34.78, 51.88, 10.60°)
OKLaboklab(45.8% 0.155 0.0243)
OKLCHoklch(45.8% 0.157 8.9)
XYZxyz(14.9459, 8.3895, 6.4614)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2145 #219A76
analogous
#9A2182 #9A2145 #9A3A21
triadic
#9A2145 #459A21 #21459A
tetradic
#9A2145 #829A21 #219A76 #3A219A
square
#9A2145 #829A21 #219A76 #3A219A
split-complementary
#9A2145 #219A3A #21829A
monochromatic
#350B18 #68162E #9A2145 #CC2C5C #DC5A80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2145#FFFFFF#000000##FFFFFF
##9A21451.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)
#414246
Deuteranopia (green-blind)
#605B42
Tritanopia (blue-blind)
#A80030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a2145;
/* rgb */ color: rgb(154, 33, 69);
/* oklch */ color: oklch(45.8% 0.157 8.9);
Tailwind
colors: {
  custom: {
    50: '#be6978',
    500: '#9a2145',
    950: '#000000',
  },
}
SCSS
$custom: #9a2145;
$custom-light: #be6978;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2145",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 342.149,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45798,
    "c": 0.15692,
    "h": 8.9
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#9A2145
secondary
#57C0A1
accent
#E8B640
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9A2145

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

Preview Lab → · Contrast checker → · Palette generator →

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