#AF2E73#AF2E73

#AF2E73 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.177 H 352.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF2E73
RGBrgb(175, 46, 115)
HSLhsl(328, 58%, 43%)
HSVhsv(328, 74%, 69%)
CMYKcmyk(0%, 73.7%, 34.3%, 31.4%)
CIE-LABlab(41.70, 57.12, -9.14)
CIE-LCHlch(41.70, 57.85, 350.91°)
OKLaboklab(52.07% 0.1749 -0.0236)
OKLCHoklch(52.07% 0.177 352.3)
XYZxyz(21.7520, 12.3083, 17.4466)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E73 #2EAF6A
analogous
#AA2EAF #AF2E73 #AF2E32
triadic
#AF2E73 #73AF2E #2E73AF
tetradic
#AF2E73 #AFAA2E #2EAF6A #2E32AF
square
#AF2E73 #AFAA2E #2EAF6A #2E32AF
split-complementary
#AF2E73 #32AF2E #2EAFAA
monochromatic
#4E1533 #7F2153 #AF2E73 #D04B92 #DC7BAF

Accessibility & contrast

On white

6.07
#AF2E73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF2E73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E73
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E73#FFFFFF#000000##FFFFFF
##AF2E731.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455475
Deuteranopia (green-blind)
#696B70
Tritanopia (blue-blind)
#BC234C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2e73;
/* rgb */ color: rgb(175, 46, 115);
/* oklch */ color: oklch(52.1% 0.177 352.3);
Tailwind
colors: {
  custom: {
    50: '#cb729b',
    500: '#af2e73',
    950: '#000000',
  },
}
SCSS
$custom: #af2e73;
$custom-light: #cb729b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e73",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 327.907,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52074,
    "c": 0.17652,
    "h": 352.3
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#AF2E73
secondary
#74C59A
accent
#E28E46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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