#AF2080#AF2080

#AF2080 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.197 H 345.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF2080
RGBrgb(175, 32, 128)
HSLhsl(320, 69%, 41%)
HSVhsv(320, 82%, 69%)
CMYKcmyk(0%, 81.7%, 26.9%, 31.4%)
CIE-LABlab(40.75, 62.82, -18.65)
CIE-LCHlch(40.75, 65.53, 343.47°)
OKLaboklab(51.55% 0.191 -0.0496)
OKLCHoklch(51.55% 0.197 345.4)
XYZxyz(22.0930, 11.7080, 21.5143)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2080 #20AF4F
analogous
#9620AF #AF2080 #AF2039
triadic
#AF2080 #80AF20 #2080AF
tetradic
#AF2080 #AF9620 #20AF4F #2039AF
square
#AF2080 #AF9620 #20AF4F #2039AF
split-complementary
#AF2080 #39AF20 #20AF96
monochromatic
#480D34 #7B175A #AF2080 #DA33A3 #E366BA

Accessibility & contrast

On white

6.29
#AF2080 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2080 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2080
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2080#FFFFFF#000000##FFFFFF
##AF20801.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365182
Deuteranopia (green-blind)
#61697D
Tritanopia (blue-blind)
#BB1C4F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2080;
/* rgb */ color: rgb(175, 32, 128);
/* oklch */ color: oklch(51.5% 0.197 345.4);
Tailwind
colors: {
  custom: {
    50: '#cb6ea5',
    500: '#af2080',
    950: '#000000',
  },
}
SCSS
$custom: #af2080;
$custom-light: #cb6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2080",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 319.72,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51546,
    "c": 0.19732,
    "h": 345.4
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#AF2080
secondary
#62C884
accent
#EC763C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2080

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

Preview Lab → · Contrast checker → · Palette generator →

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