#9A2283#9A2283

#9A2283 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.185 H 337.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9A2283
RGBrgb(154, 34, 131)
HSLhsl(312, 64%, 37%)
HSVhsv(312, 78%, 60%)
CMYKcmyk(0%, 77.9%, 14.9%, 39.6%)
CIE-LABlab(37.22, 57.73, -26.29)
CIE-LCHlch(37.22, 63.44, 335.52°)
OKLaboklab(48.33% 0.1704 -0.0715)
OKLCHoklch(48.33% 0.185 337.2)
XYZxyz(17.9956, 9.6545, 22.3841)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2283 #229A39
analogous
#75229A #9A2283 #9A2247
triadic
#9A2283 #839A22 #22839A
tetradic
#9A2283 #9A7522 #229A39 #22479A
square
#9A2283 #9A7522 #229A39 #22479A
split-complementary
#9A2283 #479A22 #229A75
monochromatic
#360C2E #681758 #9A2283 #CC2DAE #DB5BC2

Accessibility & contrast

On white

7.17
#9A2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9A2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2283
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2283#FFFFFF#000000##FFFFFF
##9A22831.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#A32A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2283;
/* rgb */ color: rgb(154, 34, 131);
/* oklch */ color: oklch(48.3% 0.185 337.2);
Tailwind
colors: {
  custom: {
    50: '#bc6ba7',
    500: '#9a2283',
    950: '#000000',
  },
}
SCSS
$custom: #9a2283;
$custom-light: #bc6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2283",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 311.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.1848,
    "h": 337.2
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#9A2283
secondary
#58BF6C
accent
#E76141
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A2283

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

Preview Lab → · Contrast checker → · Palette generator →

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