#9A307A#9A307A

#9A307A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.162 H 342.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9A307A
RGBrgb(154, 48, 122)
HSLhsl(318, 52%, 40%)
HSVhsv(318, 69%, 60%)
CMYKcmyk(0%, 68.8%, 20.8%, 39.6%)
CIE-LABlab(38.53, 51.52, -18.65)
CIE-LCHlch(38.53, 54.79, 340.10°)
OKLaboklab(49.15% 0.1542 -0.05)
OKLCHoklch(49.15% 0.162 342)
XYZxyz(17.8968, 10.3908, 19.4717)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A307A #309A50
analogous
#85309A #9A307A #9A3045
triadic
#9A307A #7A9A30 #307A9A
tetradic
#9A307A #9A8530 #309A50 #30459A
square
#9A307A #9A8530 #309A50 #30459A
split-complementary
#9A307A #459A30 #309A85
monochromatic
#3D1330 #6B2155 #9A307A #C4439D #D372B5

Accessibility & contrast

On white

6.82
#9A307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9A307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A307A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A307A#FFFFFF#000000##FFFFFF
##9A307A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#596177
Tritanopia (blue-blind)
#A33150
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a307a;
/* rgb */ color: rgb(154, 48, 122);
/* oklch */ color: oklch(49.1% 0.162 342.0);
Tailwind
colors: {
  custom: {
    50: '#bb71a0',
    500: '#9a307a',
    950: '#000000',
  },
}
SCSS
$custom: #9a307a;
$custom-light: #bb71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a307a",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 318.113,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4915,
    "c": 0.16214,
    "h": 342
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#9A307A
secondary
#6BBB83
accent
#DC774C
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A307A

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

Preview Lab → · Contrast checker → · Palette generator →

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