#AF459A#AF459A

#AF459A is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.2% C 0.170 H 336.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF459A
RGBrgb(175, 69, 154)
HSLhsl(312, 43%, 48%)
HSVhsv(312, 61%, 69%)
CMYKcmyk(0%, 60.6%, 12%, 31.4%)
CIE-LABlab(46.59, 53.31, -25.41)
CIE-LCHlch(46.59, 59.05, 334.52°)
OKLaboklab(56.17% 0.1556 -0.0689)
OKLCHoklch(56.17% 0.17 336.1)
XYZxyz(25.6403, 15.7053, 32.2466)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF459A #45AF5A
analogous
#8F45AF #AF459A #AF4565
triadic
#AF459A #9AAF45 #459AAF
tetradic
#AF459A #AF8F45 #45AF5A #4565AF
square
#AF459A #AF8F45 #45AF5A #4565AF
split-complementary
#AF459A #65AF45 #45AF8F
monochromatic
#57224D #833473 #AF459A #C56CB3 #D698CA

Accessibility & contrast

On white

5.07
#AF459A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF459A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF459A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF459A#FFFFFF#000000##FFFFFF
##AF459A1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46649D
Deuteranopia (green-blind)
#677497
Tritanopia (blue-blind)
#B74B69
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af459a;
/* rgb */ color: rgb(175, 69, 154);
/* oklch */ color: oklch(56.2% 0.170 336.1);
Tailwind
colors: {
  custom: {
    50: '#ca7fb8',
    500: '#af459a',
    950: '#000000',
  },
}
SCSS
$custom: #af459a;
$custom-light: #ca7fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#af459a",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 311.887,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56167,
    "c": 0.17016,
    "h": 336.1
  },
  "luminance": 0.15703
}

Semantic roles & 50–950 ramp

primary
#AF459A
secondary
#8DC298
accent
#D36E55
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF459A

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

Preview Lab → · Contrast checker → · Palette generator →

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