#9A245D#9A245D

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

Color values

HEX#9A245D
RGBrgb(154, 36, 93)
HSLhsl(331, 62%, 37%)
HSVhsv(331, 77%, 60%)
CMYKcmyk(0%, 76.6%, 39.6%, 39.6%)
CIE-LABlab(35.84, 52.26, -4.44)
CIE-LCHlch(35.84, 52.45, 355.15°)
OKLaboklab(46.81% 0.1605 -0.011)
OKLCHoklch(46.81% 0.161 356.1)
XYZxyz(15.9342, 8.9241, 11.2372)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A245D #249A61
analogous
#9A2498 #9A245D #9A2624
triadic
#9A245D #5D9A24 #245D9A
tetradic
#9A245D #989A24 #249A61 #26249A
square
#9A245D #989A24 #249A61 #26249A
split-complementary
#9A245D #249A26 #24989A
monochromatic
#370D21 #68183F #9A245D #CC307B #DA5F9A

Accessibility & contrast

On white

7.54
#9A245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A245D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A245D#FFFFFF#000000##FFFFFF
##9A245D1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a245d;
/* rgb */ color: rgb(154, 36, 93);
/* oklch */ color: oklch(46.8% 0.161 356.1);
Tailwind
colors: {
  custom: {
    50: '#bc6b8a',
    500: '#9a245d',
    950: '#000000',
  },
}
SCSS
$custom: #9a245d;
$custom-light: #bc6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a245d",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 331.017,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46807,
    "c": 0.16091,
    "h": 356.1
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A245D

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

Preview Lab → · Contrast checker → · Palette generator →

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