#AF2D92#AF2D92

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

Color values

HEX#AF2D92
RGBrgb(175, 45, 146)
HSLhsl(313, 59%, 43%)
HSVhsv(313, 74%, 69%)
CMYKcmyk(0%, 74.3%, 16.6%, 31.4%)
CIE-LABlab(42.87, 61.44, -26.38)
CIE-LCHlch(42.87, 66.87, 336.77°)
OKLaboklab(53.34% 0.1822 -0.0715)
OKLCHoklch(53.34% 0.196 338.6)
XYZxyz(23.8064, 13.0683, 28.4572)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D92 #2DAF4A
analogous
#8B2DAF #AF2D92 #AF2D51
triadic
#AF2D92 #92AF2D #2D92AF
tetradic
#AF2D92 #AF8B2D #2DAF4A #2D51AF
square
#AF2D92 #AF8B2D #2DAF4A #2D51AF
split-complementary
#AF2D92 #51AF2D #2DAF8B
monochromatic
#4E1441 #7E2069 #AF2D92 #D049B2 #DD7AC7

Accessibility & contrast

On white

5.81
#AF2D92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF2D92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D92
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D92#FFFFFF#000000##FFFFFF
##AF2D921.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345895
Deuteranopia (green-blind)
#5F6C8F
Tritanopia (blue-blind)
#B9335C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af2d92;
/* rgb */ color: rgb(175, 45, 146);
/* oklch */ color: oklch(53.3% 0.196 338.6);
Tailwind
colors: {
  custom: {
    50: '#cb73b2',
    500: '#af2d92',
    950: '#000000',
  },
}
SCSS
$custom: #af2d92;
$custom-light: #cb73b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d92",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 313.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.19575,
    "h": 338.6
  },
  "luminance": 0.13066
}

Semantic roles & 50–950 ramp

primary
#AF2D92
secondary
#73C585
accent
#E26846
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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