#9A245C#9A245C

#9A245C is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.160 H 356.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9A245C
RGBrgb(154, 36, 92)
HSLhsl(332, 62%, 37%)
HSVhsv(332, 77%, 60%)
CMYKcmyk(0%, 76.6%, 40.3%, 39.6%)
CIE-LABlab(35.80, 52.15, -3.85)
CIE-LCHlch(35.80, 52.29, 355.78°)
OKLaboklab(46.77% 0.1602 -0.0095)
OKLCHoklch(46.77% 0.16 356.6)
XYZxyz(15.8902, 8.9065, 11.0055)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A245C #249A62
analogous
#9A2497 #9A245C #9A2724
triadic
#9A245C #5C9A24 #245C9A
tetradic
#9A245C #979A24 #249A62 #27249A
square
#9A245C #979A24 #249A62 #27249A
split-complementary
#9A245C #249A27 #24979A
monochromatic
#370D21 #68183E #9A245C #CC307A #DA5F99

Accessibility & contrast

On white

7.55
#9A245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9A245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A245C
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A245C#FFFFFF#000000##FFFFFF
##9A245C1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465D
Deuteranopia (green-blind)
#5D5C59
Tritanopia (blue-blind)
#A7143D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a245c;
/* rgb */ color: rgb(154, 36, 92);
/* oklch */ color: oklch(46.8% 0.160 356.6);
Tailwind
colors: {
  custom: {
    50: '#bd6a8a',
    500: '#9a245c',
    950: '#000000',
  },
}
SCSS
$custom: #9a245c;
$custom-light: #bd6a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a245c",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 331.525,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.16049,
    "h": 356.6
  },
  "luminance": 0.08904
}

Semantic roles & 50–950 ramp

primary
#9A245C
secondary
#5BBF8F
accent
#E59843
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A245C

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

Preview Lab → · Contrast checker → · Palette generator →

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