#AF468D#AF468D

#AF468D is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.7% C 0.159 H 342.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF468D
RGBrgb(175, 70, 141)
HSLhsl(319, 43%, 48%)
HSVhsv(319, 60%, 69%)
CMYKcmyk(0%, 60%, 19.4%, 31.4%)
CIE-LABlab(46.20, 50.86, -18.20)
CIE-LCHlch(46.20, 54.02, 340.31°)
OKLaboklab(55.71% 0.1516 -0.0486)
OKLCHoklch(55.71% 0.159 342.2)
XYZxyz(24.6777, 15.4195, 26.8707)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF468D #46AF68
analogous
#9C46AF #AF468D #AF4658
triadic
#AF468D #8DAF46 #468DAF
tetradic
#AF468D #AF9C46 #46AF68 #4658AF
square
#AF468D #AF9C46 #46AF68 #4658AF
split-complementary
#AF468D #58AF46 #46AF9C
monochromatic
#582347 #83356A #AF468D #C56DA8 #D699C2

Accessibility & contrast

On white

5.14
#AF468D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF468D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF468D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF468D#FFFFFF#000000##FFFFFF
##AF468D1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D638F
Deuteranopia (green-blind)
#6C748A
Tritanopia (blue-blind)
#B94763
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af468d;
/* rgb */ color: rgb(175, 70, 141);
/* oklch */ color: oklch(55.7% 0.159 342.2);
Tailwind
colors: {
  custom: {
    50: '#ca7fae',
    500: '#af468d',
    950: '#000000',
  },
}
SCSS
$custom: #af468d;
$custom-light: #ca7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#af468d",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 141
  },
  "hsl": {
    "h": 319.429,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55706,
    "c": 0.15922,
    "h": 342.2
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#AF468D
secondary
#8EC29F
accent
#D37E55
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF468D

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

Preview Lab → · Contrast checker → · Palette generator →

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