#AF4080#AF4080

#AF4080 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.4% C 0.160 H 348.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF4080
RGBrgb(175, 64, 128)
HSLhsl(325, 46%, 47%)
HSVhsv(325, 63%, 69%)
CMYKcmyk(0%, 63.4%, 26.9%, 31.4%)
CIE-LABlab(44.72, 51.70, -12.59)
CIE-LCHlch(44.72, 53.21, 346.31°)
OKLaboklab(54.45% 0.1565 -0.0331)
OKLCHoklch(54.45% 0.16 348.1)
XYZxyz(23.4098, 14.3416, 21.9532)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4080 #40AF6F
analogous
#A740AF #AF4080 #AF4049
triadic
#AF4080 #80AF40 #4080AF
tetradic
#AF4080 #AFA740 #40AF6F #4049AF
square
#AF4080 #AFA740 #40AF6F #4049AF
split-complementary
#AF4080 #49AF40 #40AFA7
monochromatic
#551F3E #82305F #AF4080 #C7659E #D792BA

Accessibility & contrast

On white

5.43
#AF4080 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF4080 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4080
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4080#FFFFFF#000000##FFFFFF
##AF40801.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E82
Deuteranopia (green-blind)
#6D717D
Tritanopia (blue-blind)
#BB3D5A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4080;
/* rgb */ color: rgb(175, 64, 128);
/* oklch */ color: oklch(54.4% 0.160 348.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ca5',
    500: '#af4080',
    950: '#000000',
  },
}
SCSS
$custom: #af4080;
$custom-light: #ca7ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4080",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 325.405,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54447,
    "c": 0.15997,
    "h": 348.1
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

primary
#AF4080
secondary
#88C3A1
accent
#D68A52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4080

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

Preview Lab → · Contrast checker → · Palette generator →

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