#AF4E90#AF4E90

#AF4E90 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.9% C 0.149 H 341.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF4E90
RGBrgb(175, 78, 144)
HSLhsl(319, 38%, 50%)
HSVhsv(319, 55%, 69%)
CMYKcmyk(0%, 55.4%, 17.7%, 31.4%)
CIE-LABlab(47.72, 47.55, -17.68)
CIE-LCHlch(47.72, 50.73, 339.61°)
OKLaboklab(56.87% 0.141 -0.0473)
OKLCHoklch(56.87% 0.149 341.5)
XYZxyz(25.4381, 16.5784, 28.2403)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E90 #4EAF6D
analogous
#9E4EAF #AF4E90 #AF4E60
triadic
#AF4E90 #90AF4E #4E90AF
tetradic
#AF4E90 #AF9E4E #4EAF6D #4E60AF
square
#AF4E90 #AF9E4E #4EAF6D #4E60AF
split-complementary
#AF4E90 #60AF4E #4EAF9E
monochromatic
#5A284A #853B6D #AF4E90 #C378AB #D6A2C5

Accessibility & contrast

On white

4.87
#AF4E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF4E90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E90
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E90#FFFFFF#000000##FFFFFF
##AF4E901.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546792
Deuteranopia (green-blind)
#6F778D
Tritanopia (blue-blind)
#B94F68
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4e90;
/* rgb */ color: rgb(175, 78, 144);
/* oklch */ color: oklch(56.9% 0.149 341.5);
Tailwind
colors: {
  custom: {
    50: '#c984b0',
    500: '#af4e90',
    950: '#000000',
  },
}
SCSS
$custom: #af4e90;
$custom-light: #c984b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e90",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 319.175,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.14873,
    "h": 341.5
  },
  "luminance": 0.16576
}

Semantic roles & 50–950 ramp

primary
#AF4E90
secondary
#96C3A4
accent
#CE7F5A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF4E90

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

Preview Lab → · Contrast checker → · Palette generator →

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