#9A2274#9A2274

#9A2274 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.175 H 344.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9A2274
RGBrgb(154, 34, 116)
HSLhsl(319, 64%, 37%)
HSVhsv(319, 78%, 60%)
CMYKcmyk(0%, 77.9%, 24.7%, 39.6%)
CIE-LABlab(36.51, 55.65, -18.02)
CIE-LCHlch(36.51, 58.50, 342.06°)
OKLaboklab(47.59% 0.1683 -0.0481)
OKLCHoklch(47.59% 0.175 344)
XYZxyz(17.0515, 9.2769, 17.4122)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2274 #229A48
analogous
#84229A #9A2274 #9A2238
triadic
#9A2274 #749A22 #22749A
tetradic
#9A2274 #9A8422 #229A48 #22389A
square
#9A2274 #9A8422 #229A48 #22389A
split-complementary
#9A2274 #389A22 #229A84
monochromatic
#360C28 #68174E #9A2274 #CC2D9A #DB5BB3

Accessibility & contrast

On white

7.36
#9A2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9A2274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2274
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2274#FFFFFF#000000##FFFFFF
##9A22741.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#565D71
Tritanopia (blue-blind)
#A42148
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2274;
/* rgb */ color: rgb(154, 34, 116);
/* oklch */ color: oklch(47.6% 0.175 344.0);
Tailwind
colors: {
  custom: {
    50: '#bc6b9c',
    500: '#9a2274',
    950: '#000000',
  },
}
SCSS
$custom: #9a2274;
$custom-light: #bc6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2274",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 319,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47592,
    "c": 0.17503,
    "h": 344
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#9A2274
secondary
#58BF79
accent
#E77541
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2274

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

Preview Lab → · Contrast checker → · Palette generator →

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