#9A2047#9A2047

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

Color values

HEX#9A2047
RGBrgb(154, 32, 71)
HSLhsl(341, 66%, 36%)
HSVhsv(341, 79%, 60%)
CMYKcmyk(0%, 79.2%, 53.9%, 39.6%)
CIE-LABlab(34.72, 51.46, 8.16)
CIE-LCHlch(34.72, 52.11, 9.01°)
OKLaboklab(45.77% 0.1568 0.021)
OKLCHoklch(45.77% 0.158 7.6)
XYZxyz(14.9817, 8.3601, 6.7848)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2047 #209A73
analogous
#9A2084 #9A2047 #9A3620
triadic
#9A2047 #479A20 #20479A
tetradic
#9A2047 #849A20 #209A73 #36209A
square
#9A2047 #849A20 #209A73 #36209A
split-complementary
#9A2047 #209A36 #20849A
monochromatic
#350B18 #671530 #9A2047 #CD2B5E #DC5882

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2047#FFFFFF#000000##FFFFFF
##9A20471.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)
#404248
Deuteranopia (green-blind)
#605A44
Tritanopia (blue-blind)
#A80031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a2047;
/* rgb */ color: rgb(154, 32, 71);
/* oklch */ color: oklch(45.8% 0.158 7.6);
Tailwind
colors: {
  custom: {
    50: '#be6879',
    500: '#9a2047',
    950: '#000000',
  },
}
SCSS
$custom: #9a2047;
$custom-light: #be6879;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2047",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 340.82,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4577,
    "c": 0.15822,
    "h": 7.6
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#9A2047
secondary
#56C09E
accent
#E9B23F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A2047

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

Preview Lab → · Contrast checker → · Palette generator →

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