#9A2045#9A2045

#9A2045 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.158 H 8.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9A2045
RGBrgb(154, 32, 69)
HSLhsl(342, 66%, 36%)
HSVhsv(342, 79%, 60%)
CMYKcmyk(0%, 79.2%, 55.2%, 39.6%)
CIE-LABlab(34.67, 51.30, 9.39)
CIE-LCHlch(34.67, 52.15, 10.37°)
OKLaboklab(45.72% 0.156 0.0239)
OKLCHoklch(45.72% 0.158 8.7)
XYZxyz(14.9185, 8.3349, 6.4523)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2045 #209A75
analogous
#9A2082 #9A2045 #9A3820
triadic
#9A2045 #459A20 #20459A
tetradic
#9A2045 #829A20 #209A75 #38209A
square
#9A2045 #829A20 #209A75 #38209A
split-complementary
#9A2045 #209A38 #20829A
monochromatic
#350B18 #67152E #9A2045 #CD2B5C #DC5880

Accessibility & contrast

On white

7.88
#9A2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2045
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2045#FFFFFF#000000##FFFFFF
##9A20451.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414246
Deuteranopia (green-blind)
#605A42
Tritanopia (blue-blind)
#A80030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a2045;
/* rgb */ color: rgb(154, 32, 69);
/* oklch */ color: oklch(45.7% 0.158 8.7);
Tailwind
colors: {
  custom: {
    50: '#be6878',
    500: '#9a2045',
    950: '#000000',
  },
}
SCSS
$custom: #9a2045;
$custom-light: #be6878;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2045",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 341.803,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45716,
    "c": 0.15786,
    "h": 8.7
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#9A2045
secondary
#56C0A0
accent
#E9B53F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9A2045

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

Preview Lab → · Contrast checker → · Palette generator →

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