#9A2142#9A2142

#9A2142 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.156 H 10.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9A2142
RGBrgb(154, 33, 66)
HSLhsl(344, 65%, 37%)
HSVhsv(344, 79%, 60%)
CMYKcmyk(0%, 78.6%, 57.1%, 39.6%)
CIE-LABlab(34.71, 50.76, 11.39)
CIE-LCHlch(34.71, 52.02, 12.65°)
OKLaboklab(45.72% 0.1538 0.0286)
OKLCHoklch(45.72% 0.156 10.5)
XYZxyz(14.8551, 8.3532, 5.9833)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2142 #219A79
analogous
#9A217F #9A2142 #9A3C21
triadic
#9A2142 #429A21 #21429A
tetradic
#9A2142 #7F9A21 #219A79 #3C219A
square
#9A2142 #7F9A21 #219A79 #3C219A
split-complementary
#9A2142 #219A3C #217F9A
monochromatic
#350B17 #68162C #9A2142 #CC2C58 #DC5A7D

Accessibility & contrast

On white

7.86
#9A2142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2142
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2142#FFFFFF#000000##FFFFFF
##9A21421.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424243
Deuteranopia (green-blind)
#615A3F
Tritanopia (blue-blind)
#A9002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a2142;
/* rgb */ color: rgb(154, 33, 66);
/* oklch */ color: oklch(45.7% 0.156 10.5);
Tailwind
colors: {
  custom: {
    50: '#be6876',
    500: '#9a2142',
    950: '#000000',
  },
}
SCSS
$custom: #9a2142;
$custom-light: #be6876;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2142",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 343.636,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.15648,
    "h": 10.5
  },
  "luminance": 0.08351
}

Semantic roles & 50–950 ramp

primary
#9A2142
secondary
#57C0A3
accent
#E8BA40
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9A2142

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

Preview Lab → · Contrast checker → · Palette generator →

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