#AF2081#AF2081

#AF2081 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.6% C 0.198 H 345.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF2081
RGBrgb(175, 32, 129)
HSLhsl(319, 69%, 41%)
HSVhsv(319, 82%, 69%)
CMYKcmyk(0%, 81.7%, 26.3%, 31.4%)
CIE-LABlab(40.79, 62.95, -19.20)
CIE-LCHlch(40.79, 65.81, 343.04°)
OKLaboklab(51.59% 0.1912 -0.0511)
OKLCHoklch(51.59% 0.198 345)
XYZxyz(22.1592, 11.7345, 21.8626)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2081 #20AF4E
analogous
#9520AF #AF2081 #AF2039
triadic
#AF2081 #81AF20 #2081AF
tetradic
#AF2081 #AF9520 #20AF4E #2039AF
square
#AF2081 #AF9520 #20AF4E #2039AF
split-complementary
#AF2081 #39AF20 #20AF95
monochromatic
#480D35 #7B175B #AF2081 #DA33A4 #E366BB

Accessibility & contrast

On white

6.28
#AF2081 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF2081 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2081
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2081#FFFFFF#000000##FFFFFF
##AF20811.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355183
Deuteranopia (green-blind)
#61697E
Tritanopia (blue-blind)
#BB1D4F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2081;
/* rgb */ color: rgb(175, 32, 129);
/* oklch */ color: oklch(51.6% 0.198 345.0);
Tailwind
colors: {
  custom: {
    50: '#cb6ea5',
    500: '#af2081',
    950: '#000000',
  },
}
SCSS
$custom: #af2081;
$custom-light: #cb6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2081",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 319.301,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.19788,
    "h": 345
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#AF2081
secondary
#62C883
accent
#EC753C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2081

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

Preview Lab → · Contrast checker → · Palette generator →

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