#9A246C#9A246C

#9A246C is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.168 H 348.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9A246C
RGBrgb(154, 36, 108)
HSLhsl(323, 62%, 37%)
HSVhsv(323, 77%, 60%)
CMYKcmyk(0%, 76.6%, 29.9%, 39.6%)
CIE-LABlab(36.40, 54.00, -13.15)
CIE-LCHlch(36.40, 55.58, 346.31°)
OKLaboklab(47.4% 0.1647 -0.0346)
OKLCHoklch(47.4% 0.168 348.1)
XYZxyz(16.6649, 9.2164, 15.0858)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A246C #249A52
analogous
#8D249A #9A246C #9A2431
triadic
#9A246C #6C9A24 #246C9A
tetradic
#9A246C #9A8D24 #249A52 #24319A
square
#9A246C #9A8D24 #249A52 #24319A
split-complementary
#9A246C #319A24 #249A8D
monochromatic
#370D26 #681849 #9A246C #CC308F #DA5FAA

Accessibility & contrast

On white

7.39
#9A246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9A246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A246C
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A246C#FFFFFF#000000##FFFFFF
##9A246C1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36496E
Deuteranopia (green-blind)
#595D69
Tritanopia (blue-blind)
#A51E45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a246c;
/* rgb */ color: rgb(154, 36, 108);
/* oklch */ color: oklch(47.4% 0.168 348.1);
Tailwind
colors: {
  custom: {
    50: '#bc6b96',
    500: '#9a246c',
    950: '#000000',
  },
}
SCSS
$custom: #9a246c;
$custom-light: #bc6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#9a246c",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 323.39,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47399,
    "c": 0.16824,
    "h": 348.1
  },
  "luminance": 0.09214
}

Semantic roles & 50–950 ramp

primary
#9A246C
secondary
#5BBF82
accent
#E58243
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #9A246C

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

Preview Lab → · Contrast checker → · Palette generator →

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