#9A307E#9A307E

#9A307E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.165 H 340.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9A307E
RGBrgb(154, 48, 126)
HSLhsl(316, 52%, 40%)
HSVhsv(316, 69%, 60%)
CMYKcmyk(0%, 68.8%, 18.2%, 39.6%)
CIE-LABlab(38.71, 52.10, -20.86)
CIE-LCHlch(38.71, 56.12, 338.18°)
OKLaboklab(49.34% 0.155 -0.0562)
OKLCHoklch(49.34% 0.165 340.1)
XYZxyz(18.1497, 10.4920, 20.8039)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A307E #309A4C
analogous
#81309A #9A307E #9A3049
triadic
#9A307E #7E9A30 #307E9A
tetradic
#9A307E #9A8130 #309A4C #30499A
square
#9A307E #9A8130 #309A4C #30499A
split-complementary
#9A307E #499A30 #309A81
monochromatic
#3D1332 #6B2158 #9A307E #C443A2 #D372B9

Accessibility & contrast

On white

6.78
#9A307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9A307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A307E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A307E#FFFFFF#000000##FFFFFF
##9A307E1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375080
Deuteranopia (green-blind)
#58617B
Tritanopia (blue-blind)
#A33352
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a307e;
/* rgb */ color: rgb(154, 48, 126);
/* oklch */ color: oklch(49.3% 0.165 340.1);
Tailwind
colors: {
  custom: {
    50: '#bb71a3',
    500: '#9a307e',
    950: '#000000',
  },
}
SCSS
$custom: #9a307e;
$custom-light: #bb71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a307e",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 315.849,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49336,
    "c": 0.16486,
    "h": 340.1
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

primary
#9A307E
secondary
#6BBB80
accent
#DC724C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A307E

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

Preview Lab → · Contrast checker → · Palette generator →

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