#AF2A83#AF2A83

#AF2A83 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.190 H 344.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AF2A83
RGBrgb(175, 42, 131)
HSLhsl(320, 61%, 43%)
HSVhsv(320, 76%, 69%)
CMYKcmyk(0%, 76%, 25.1%, 31.4%)
CIE-LABlab(41.86, 60.38, -18.78)
CIE-LCHlch(41.86, 63.23, 342.72°)
OKLaboklab(52.4% 0.1828 -0.05)
OKLCHoklch(52.4% 0.19 344.7)
XYZxyz(22.6048, 12.4110, 22.6735)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A83 #2AAF56
analogous
#992AAF #AF2A83 #AF2A40
triadic
#AF2A83 #83AF2A #2A83AF
tetradic
#AF2A83 #AF992A #2AAF56 #2A40AF
square
#AF2A83 #AF992A #2AAF56 #2A40AF
split-complementary
#AF2A83 #40AF2A #2AAF99
monochromatic
#4C1239 #7E1E5E #AF2A83 #D244A3 #DE75BB

Accessibility & contrast

On white

6.03
#AF2A83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AF2A83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A83
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A83#FFFFFF#000000##FFFFFF
##AF2A831.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5585
Deuteranopia (green-blind)
#636B80
Tritanopia (blue-blind)
#BB2853
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2a83;
/* rgb */ color: rgb(175, 42, 131);
/* oklch */ color: oklch(52.4% 0.190 344.7);
Tailwind
colors: {
  custom: {
    50: '#cb71a7',
    500: '#af2a83',
    950: '#000000',
  },
}
SCSS
$custom: #af2a83;
$custom-light: #cb71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a83",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 319.85,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.18952,
    "h": 344.7
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

primary
#AF2A83
secondary
#6FC68C
accent
#E47943
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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