#9A245E#9A245E

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

Color values

HEX#9A245E
RGBrgb(154, 36, 94)
HSLhsl(331, 62%, 37%)
HSVhsv(331, 77%, 60%)
CMYKcmyk(0%, 76.6%, 39%, 39.6%)
CIE-LABlab(35.87, 52.37, -5.03)
CIE-LCHlch(35.87, 52.61, 354.52°)
OKLaboklab(46.84% 0.1608 -0.0126)
OKLCHoklch(46.84% 0.161 355.5)
XYZxyz(15.9788, 8.9419, 11.4720)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A245E #249A60
analogous
#9A2499 #9A245E #9A2524
triadic
#9A245E #5E9A24 #245E9A
tetradic
#9A245E #999A24 #249A60 #25249A
square
#9A245E #999A24 #249A60 #25249A
split-complementary
#9A245E #249A25 #24999A
monochromatic
#370D21 #681840 #9A245E #CC307C #DA5F9B

Accessibility & contrast

On white

7.53
#9A245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9A245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A245E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A245E#FFFFFF#000000##FFFFFF
##9A245E1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465F
Deuteranopia (green-blind)
#5D5C5B
Tritanopia (blue-blind)
#A7153E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a245e;
/* rgb */ color: rgb(154, 36, 94);
/* oklch */ color: oklch(46.8% 0.161 355.5);
Tailwind
colors: {
  custom: {
    50: '#bc6b8b',
    500: '#9a245e',
    950: '#000000',
  },
}
SCSS
$custom: #9a245e;
$custom-light: #bc6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a245e",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 330.508,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46844,
    "c": 0.16133,
    "h": 355.5
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#9A245E
secondary
#5BBF8E
accent
#E59543
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A245E

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

Preview Lab → · Contrast checker → · Palette generator →

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