#AF488E#AF488E

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

Color values

HEX#AF488E
RGBrgb(175, 72, 142)
HSLhsl(319, 42%, 48%)
HSVhsv(319, 59%, 69%)
CMYKcmyk(0%, 58.9%, 18.9%, 31.4%)
CIE-LABlab(46.58, 50.09, -18.22)
CIE-LCHlch(46.58, 53.30, 340.01°)
OKLaboklab(56% 0.1491 -0.0487)
OKLCHoklch(56% 0.157 341.9)
XYZxyz(24.8796, 15.7038, 27.3067)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF488E #48AF69
analogous
#9C48AF #AF488E #AF485B
triadic
#AF488E #8EAF48 #488EAF
tetradic
#AF488E #AF9C48 #48AF69 #485BAF
square
#AF488E #AF9C48 #48AF69 #485BAF
split-complementary
#AF488E #5BAF48 #48AF9C
monochromatic
#582448 #84366B #AF488E #C470A9 #D69BC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF488E#FFFFFF#000000##FFFFFF
##AF488E1.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)
#4F6490
Deuteranopia (green-blind)
#6D758B
Tritanopia (blue-blind)
#B94965
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af488e;
/* rgb */ color: rgb(175, 72, 142);
/* oklch */ color: oklch(56.0% 0.157 341.9);
Tailwind
colors: {
  custom: {
    50: '#ca80af',
    500: '#af488e',
    950: '#000000',
  },
}
SCSS
$custom: #af488e;
$custom-light: #ca80af;
$custom-dark: #000000;
JSON
{
  "hex": "#af488e",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 319.223,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56,
    "c": 0.15684,
    "h": 341.9
  },
  "luminance": 0.15702
}

Semantic roles & 50–950 ramp

primary
#AF488E
secondary
#90C2A0
accent
#D27E56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF488E

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

Preview Lab → · Contrast checker → · Palette generator →

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