#9A2148#9A2148

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

Color values

HEX#9A2148
RGBrgb(154, 33, 72)
HSLhsl(341, 65%, 37%)
HSVhsv(341, 79%, 60%)
CMYKcmyk(0%, 78.6%, 53.2%, 39.6%)
CIE-LABlab(34.86, 51.23, 7.70)
CIE-LCHlch(34.86, 51.81, 8.55°)
OKLaboklab(45.88% 0.1562 0.0199)
OKLCHoklch(45.88% 0.157 7.2)
XYZxyz(15.0414, 8.4277, 6.9643)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2148 #219A73
analogous
#9A2185 #9A2148 #9A3721
triadic
#9A2148 #489A21 #21489A
tetradic
#9A2148 #859A21 #219A73 #37219A
square
#9A2148 #859A21 #219A73 #37219A
split-complementary
#9A2148 #219A37 #21859A
monochromatic
#350B19 #681630 #9A2148 #CC2C60 #DC5A84

Accessibility & contrast

On white

7.82
#9A2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9A2148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2148
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2148#FFFFFF#000000##FFFFFF
##9A21481.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404349
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#A80032
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a2148;
/* rgb */ color: rgb(154, 33, 72);
/* oklch */ color: oklch(45.9% 0.157 7.2);
Tailwind
colors: {
  custom: {
    50: '#be697a',
    500: '#9a2148',
    950: '#000000',
  },
}
SCSS
$custom: #9a2148;
$custom-light: #be697a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2148",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 340.661,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.15747,
    "h": 7.2
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#9A2148
secondary
#57C09E
accent
#E8B240
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A2148

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

Preview Lab → · Contrast checker → · Palette generator →

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