#AF2E92#AF2E92

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

Color values

HEX#AF2E92
RGBrgb(175, 46, 146)
HSLhsl(313, 58%, 43%)
HSVhsv(313, 74%, 69%)
CMYKcmyk(0%, 73.7%, 16.6%, 31.4%)
CIE-LABlab(42.98, 61.12, -26.20)
CIE-LCHlch(42.98, 66.50, 336.80°)
OKLaboklab(53.42% 0.1812 -0.071)
OKLCHoklch(53.42% 0.195 338.6)
XYZxyz(23.8451, 13.1455, 28.4701)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E92 #2EAF4B
analogous
#8B2EAF #AF2E92 #AF2E52
triadic
#AF2E92 #92AF2E #2E92AF
tetradic
#AF2E92 #AF8B2E #2EAF4B #2E52AF
square
#AF2E92 #AF8B2E #2EAF4B #2E52AF
split-complementary
#AF2E92 #52AF2E #2EAF8B
monochromatic
#4E1541 #7F216A #AF2E92 #D04BB2 #DC7BC6

Accessibility & contrast

On white

5.79
#AF2E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AF2E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E92
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E92#FFFFFF#000000##FFFFFF
##AF2E921.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355995
Deuteranopia (green-blind)
#5F6D8F
Tritanopia (blue-blind)
#B9345D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af2e92;
/* rgb */ color: rgb(175, 46, 146);
/* oklch */ color: oklch(53.4% 0.195 338.6);
Tailwind
colors: {
  custom: {
    50: '#cb73b2',
    500: '#af2e92',
    950: '#000000',
  },
}
SCSS
$custom: #af2e92;
$custom-light: #cb73b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e92",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 313.488,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53423,
    "c": 0.19465,
    "h": 338.6
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#AF2E92
secondary
#74C586
accent
#E26946
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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