#AF468A#AF468A

#AF468A is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.6% C 0.157 H 343.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF468A
RGBrgb(175, 70, 138)
HSLhsl(321, 43%, 48%)
HSVhsv(321, 60%, 69%)
CMYKcmyk(0%, 60%, 21.1%, 31.4%)
CIE-LABlab(46.08, 50.42, -16.58)
CIE-LCHlch(46.08, 53.07, 341.80°)
OKLaboklab(55.58% 0.1509 -0.0441)
OKLCHoklch(55.58% 0.157 343.7)
XYZxyz(24.4575, 15.3315, 25.7110)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF468A #46AF6B
analogous
#9F46AF #AF468A #AF4655
triadic
#AF468A #8AAF46 #468AAF
tetradic
#AF468A #AF9F46 #46AF6B #4655AF
square
#AF468A #AF9F46 #46AF6B #4655AF
split-complementary
#AF468A #55AF46 #46AF9F
monochromatic
#582345 #833568 #AF468A #C56DA6 #D699C1

Accessibility & contrast

On white

5.17
#AF468A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF468A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF468A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF468A#FFFFFF#000000##FFFFFF
##AF468A1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628C
Deuteranopia (green-blind)
#6D7487
Tritanopia (blue-blind)
#BA4662
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af468a;
/* rgb */ color: rgb(175, 70, 138);
/* oklch */ color: oklch(55.6% 0.157 343.7);
Tailwind
colors: {
  custom: {
    50: '#ca7fac',
    500: '#af468a',
    950: '#000000',
  },
}
SCSS
$custom: #af468a;
$custom-light: #ca7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#af468a",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 138
  },
  "hsl": {
    "h": 321.143,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5558,
    "c": 0.15722,
    "h": 343.7
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#AF468A
secondary
#8EC2A1
accent
#D38155
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF468A

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

Preview Lab → · Contrast checker → · Palette generator →

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