#AF2A91#AF2A91

#AF2A91 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.198 H 338.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF2A91
RGBrgb(175, 42, 145)
HSLhsl(314, 61%, 43%)
HSVhsv(314, 76%, 69%)
CMYKcmyk(0%, 76%, 17.1%, 31.4%)
CIE-LABlab(42.49, 62.25, -26.36)
CIE-LCHlch(42.49, 67.61, 337.05°)
OKLaboklab(53.05% 0.185 -0.0714)
OKLCHoklch(53.05% 0.198 338.9)
XYZxyz(23.6186, 12.8165, 28.0125)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A91 #2AAF48
analogous
#8B2AAF #AF2A91 #AF2A4E
triadic
#AF2A91 #91AF2A #2A91AF
tetradic
#AF2A91 #AF8B2A #2AAF48 #2A4EAF
square
#AF2A91 #AF8B2A #2AAF48 #2A4EAF
split-complementary
#AF2A91 #4EAF2A #2AAF8B
monochromatic
#4C123F #7E1E68 #AF2A91 #D244B2 #DE75C6

Accessibility & contrast

On white

5.89
#AF2A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AF2A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A91
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A91#FFFFFF#000000##FFFFFF
##AF2A911.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325794
Deuteranopia (green-blind)
#5E6C8E
Tritanopia (blue-blind)
#B9305B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2a91;
/* rgb */ color: rgb(175, 42, 145);
/* oklch */ color: oklch(53.0% 0.198 338.9);
Tailwind
colors: {
  custom: {
    50: '#cb72b1',
    500: '#af2a91',
    950: '#000000',
  },
}
SCSS
$custom: #af2a91;
$custom-light: #cb72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a91",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 313.534,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.19828,
    "h": 338.9
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#AF2A91
secondary
#6FC683
accent
#E46843
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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