#9A2278#9A2278

#9A2278 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.178 H 342.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9A2278
RGBrgb(154, 34, 120)
HSLhsl(317, 64%, 37%)
HSVhsv(317, 78%, 60%)
CMYKcmyk(0%, 77.9%, 22.1%, 39.6%)
CIE-LABlab(36.69, 56.19, -20.25)
CIE-LCHlch(36.69, 59.72, 340.18°)
OKLaboklab(47.78% 0.169 -0.0544)
OKLCHoklch(47.78% 0.178 342.2)
XYZxyz(17.2892, 9.3720, 18.6641)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2278 #229A44
analogous
#80229A #9A2278 #9A223C
triadic
#9A2278 #789A22 #22789A
tetradic
#9A2278 #9A8022 #229A44 #223C9A
square
#9A2278 #9A8022 #229A44 #223C9A
split-complementary
#9A2278 #3C9A22 #229A80
monochromatic
#360C2A #681751 #9A2278 #CC2D9F #DB5BB7

Accessibility & contrast

On white

7.31
#9A2278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9A2278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2278
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2278#FFFFFF#000000##FFFFFF
##9A22781.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7A
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#A4244B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2278;
/* rgb */ color: rgb(154, 34, 120);
/* oklch */ color: oklch(47.8% 0.178 342.2);
Tailwind
colors: {
  custom: {
    50: '#bc6b9f',
    500: '#9a2278',
    950: '#000000',
  },
}
SCSS
$custom: #9a2278;
$custom-light: #bc6b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2278",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 317,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.17751,
    "h": 342.2
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#9A2278
secondary
#58BF76
accent
#E77041
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2278

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

Preview Lab → · Contrast checker → · Palette generator →

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