#9A245F#9A245F

#9A245F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.162 H 355.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9A245F
RGBrgb(154, 36, 95)
HSLhsl(330, 62%, 37%)
HSVhsv(330, 77%, 60%)
CMYKcmyk(0%, 76.6%, 38.3%, 39.6%)
CIE-LABlab(35.91, 52.48, -5.62)
CIE-LCHlch(35.91, 52.78, 353.89°)
OKLaboklab(46.88% 0.1611 -0.0141)
OKLCHoklch(46.88% 0.162 355)
XYZxyz(16.0239, 8.9600, 11.7099)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A245F #249A5F
analogous
#9A249A #9A245F #9A2424
triadic
#9A245F #5F9A24 #245F9A
tetradic
#9A245F #9A9A24 #249A5F #24249A
square
#9A245F #9A9A24 #249A5F #24249A
split-complementary
#9A245F #249A24 #249A9A
monochromatic
#370D22 #681840 #9A245F #CC307E #DA5F9C

Accessibility & contrast

On white

7.52
#9A245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A245F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A245F#FFFFFF#000000##FFFFFF
##9A245F1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4761
Deuteranopia (green-blind)
#5C5C5C
Tritanopia (blue-blind)
#A7163E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a245f;
/* rgb */ color: rgb(154, 36, 95);
/* oklch */ color: oklch(46.9% 0.162 355.0);
Tailwind
colors: {
  custom: {
    50: '#bc6b8c',
    500: '#9a245f',
    950: '#000000',
  },
}
SCSS
$custom: #9a245f;
$custom-light: #bc6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a245f",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 330,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46881,
    "c": 0.16176,
    "h": 355
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#9A245F
secondary
#5BBF8D
accent
#E59443
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A245F

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

Preview Lab → · Contrast checker → · Palette generator →

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