#AF2A80#AF2A80

#AF2A80 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.188 H 346.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AF2A80
RGBrgb(175, 42, 128)
HSLhsl(321, 61%, 43%)
HSVhsv(321, 76%, 69%)
CMYKcmyk(0%, 76%, 26.9%, 31.4%)
CIE-LABlab(41.74, 60.00, -17.13)
CIE-LCHlch(41.74, 62.39, 344.07°)
OKLaboklab(52.26% 0.1822 -0.0454)
OKLCHoklch(52.26% 0.188 346)
XYZxyz(22.4045, 12.3309, 21.6181)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A80 #2AAF59
analogous
#9B2AAF #AF2A80 #AF2A3E
triadic
#AF2A80 #80AF2A #2A80AF
tetradic
#AF2A80 #AF9B2A #2AAF59 #2A3EAF
square
#AF2A80 #AF9B2A #2AAF59 #2A3EAF
split-complementary
#AF2A80 #3EAF2A #2AAF9B
monochromatic
#4C1238 #7E1E5C #AF2A80 #D244A0 #DE75B9

Accessibility & contrast

On white

6.06
#AF2A80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AF2A80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A80
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A80#FFFFFF#000000##FFFFFF
##AF2A801.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5482
Deuteranopia (green-blind)
#646B7D
Tritanopia (blue-blind)
#BB2652
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2a80;
/* rgb */ color: rgb(175, 42, 128);
/* oklch */ color: oklch(52.3% 0.188 346.0);
Tailwind
colors: {
  custom: {
    50: '#cb71a5',
    500: '#af2a80',
    950: '#000000',
  },
}
SCSS
$custom: #af2a80;
$custom-light: #cb71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a80",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 321.203,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52263,
    "c": 0.18777,
    "h": 346
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

primary
#AF2A80
secondary
#6FC68E
accent
#E47C43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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