#AA308E#AA308E

#AA308E is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.187 H 338.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AA308E
RGBrgb(170, 48, 142)
HSLhsl(314, 56%, 43%)
HSVhsv(314, 72%, 67%)
CMYKcmyk(0%, 71.8%, 16.5%, 33.3%)
CIE-LABlab(42.18, 58.62, -25.09)
CIE-LCHlch(42.18, 63.76, 336.83°)
OKLaboklab(52.62% 0.1737 -0.0679)
OKLCHoklch(52.62% 0.187 338.6)
XYZxyz(22.5175, 12.6151, 26.8350)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA308E #30AA4C
analogous
#8930AA #AA308E #AA3051
triadic
#AA308E #8EAA30 #308EAA
tetradic
#AA308E #AA8930 #30AA4C #3051AA
square
#AA308E #AA8930 #30AA4C #3051AA
split-complementary
#AA308E #51AA30 #30AA89
monochromatic
#4B153E #7A2366 #AA308E #CC4BAF #DA7BC4

Accessibility & contrast

On white

5.96
#AA308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA308E
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA308E#FFFFFF#000000##FFFFFF
##AA308E1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365791
Deuteranopia (green-blind)
#5E6A8B
Tritanopia (blue-blind)
#B4355B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa308e;
/* rgb */ color: rgb(170, 48, 142);
/* oklch */ color: oklch(52.6% 0.187 338.6);
Tailwind
colors: {
  custom: {
    50: '#c773af',
    500: '#aa308e',
    950: '#000000',
  },
}
SCSS
$custom: #aa308e;
$custom-light: #c773af;
$custom-dark: #000000;
JSON
{
  "hex": "#aa308e",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 313.77,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52617,
    "c": 0.18652,
    "h": 338.6
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#AA308E
secondary
#74C286
accent
#DF6B49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA308E

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

Preview Lab → · Contrast checker → · Palette generator →

#AA308E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva