#9A306E#9A306E

#9A306E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.155 H 348.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9A306E
RGBrgb(154, 48, 110)
HSLhsl(325, 52%, 40%)
HSVhsv(325, 69%, 60%)
CMYKcmyk(0%, 68.8%, 28.6%, 39.6%)
CIE-LABlab(38.04, 49.87, -11.91)
CIE-LCHlch(38.04, 51.27, 346.57°)
OKLaboklab(48.63% 0.1515 -0.0313)
OKLCHoklch(48.63% 0.155 348.3)
XYZxyz(17.1986, 10.1115, 15.7948)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A306E #309A5C
analogous
#91309A #9A306E #9A3039
triadic
#9A306E #6E9A30 #306E9A
tetradic
#9A306E #9A9130 #309A5C #30399A
square
#9A306E #9A9130 #309A5C #30399A
split-complementary
#9A306E #399A30 #309A91
monochromatic
#3D132B #6B214D #9A306E #C4438F #D372AA

Accessibility & contrast

On white

6.95
#9A306E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9A306E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A306E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A306E#FFFFFF#000000##FFFFFF
##9A306E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4E70
Deuteranopia (green-blind)
#5D606C
Tritanopia (blue-blind)
#A52C4A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a306e;
/* rgb */ color: rgb(154, 48, 110);
/* oklch */ color: oklch(48.6% 0.155 348.3);
Tailwind
colors: {
  custom: {
    50: '#bb7097',
    500: '#9a306e',
    950: '#000000',
  },
}
SCSS
$custom: #9a306e;
$custom-light: #bb7097;
$custom-dark: #000000;
JSON
{
  "hex": "#9a306e",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 324.906,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.15468,
    "h": 348.3
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#9A306E
secondary
#6BBB8C
accent
#DC884C
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9A306E

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

Preview Lab → · Contrast checker → · Palette generator →

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