#AF2E93#AF2E93

#AF2E93 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.195 H 338.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF2E93
RGBrgb(175, 46, 147)
HSLhsl(313, 58%, 43%)
HSVhsv(313, 74%, 69%)
CMYKcmyk(0%, 73.7%, 16%, 31.4%)
CIE-LABlab(43.03, 61.26, -26.73)
CIE-LCHlch(43.03, 66.84, 336.43°)
OKLaboklab(53.47% 0.1814 -0.0725)
OKLCHoklch(53.47% 0.195 338.2)
XYZxyz(23.9232, 13.1768, 28.8816)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E93 #2EAF4A
analogous
#8A2EAF #AF2E93 #AF2E52
triadic
#AF2E93 #93AF2E #2E93AF
tetradic
#AF2E93 #AF8A2E #2EAF4A #2E52AF
square
#AF2E93 #AF8A2E #2EAF4A #2E52AF
split-complementary
#AF2E93 #52AF2E #2EAF8A
monochromatic
#4E1542 #7F216A #AF2E93 #D04BB3 #DC7BC7

Accessibility & contrast

On white

5.78
#AF2E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF2E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E93
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E93#FFFFFF#000000##FFFFFF
##AF2E931.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345996
Deuteranopia (green-blind)
#5F6D90
Tritanopia (blue-blind)
#B9345D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af2e93;
/* rgb */ color: rgb(175, 46, 147);
/* oklch */ color: oklch(53.5% 0.195 338.2);
Tailwind
colors: {
  custom: {
    50: '#cb73b3',
    500: '#af2e93',
    950: '#000000',
  },
}
SCSS
$custom: #af2e93;
$custom-light: #cb73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e93",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 313.023,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.19532,
    "h": 338.2
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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