#AF2E91#AF2E91

#AF2E91 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.4% C 0.194 H 339.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF2E91
RGBrgb(175, 46, 145)
HSLhsl(314, 58%, 43%)
HSVhsv(314, 74%, 69%)
CMYKcmyk(0%, 73.7%, 17.1%, 31.4%)
CIE-LABlab(42.94, 60.97, -25.66)
CIE-LCHlch(42.94, 66.16, 337.17°)
OKLaboklab(53.37% 0.1811 -0.0695)
OKLCHoklch(53.37% 0.194 339)
XYZxyz(23.7676, 13.1146, 28.0622)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E91 #2EAF4C
analogous
#8C2EAF #AF2E91 #AF2E51
triadic
#AF2E91 #91AF2E #2E91AF
tetradic
#AF2E91 #AF8C2E #2EAF4C #2E51AF
square
#AF2E91 #AF8C2E #2EAF4C #2E51AF
split-complementary
#AF2E91 #51AF2E #2EAF8C
monochromatic
#4E1541 #7F2169 #AF2E91 #D04BB1 #DC7BC6

Accessibility & contrast

On white

5.80
#AF2E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF2E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E91
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E91#FFFFFF#000000##FFFFFF
##AF2E911.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355894
Deuteranopia (green-blind)
#606D8E
Tritanopia (blue-blind)
#B9335C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af2e91;
/* rgb */ color: rgb(175, 46, 145);
/* oklch */ color: oklch(53.4% 0.194 339.0);
Tailwind
colors: {
  custom: {
    50: '#cb73b1',
    500: '#af2e91',
    950: '#000000',
  },
}
SCSS
$custom: #af2e91;
$custom-light: #cb73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e91",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 313.953,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.19398,
    "h": 339
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#AF2E91
secondary
#74C587
accent
#E26A46
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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