#AF2D93#AF2D93

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

Color values

HEX#AF2D93
RGBrgb(175, 45, 147)
HSLhsl(313, 59%, 43%)
HSVhsv(313, 74%, 69%)
CMYKcmyk(0%, 74.3%, 16%, 31.4%)
CIE-LABlab(42.91, 61.59, -26.91)
CIE-LCHlch(42.91, 67.21, 336.40°)
OKLaboklab(53.39% 0.1824 -0.073)
OKLCHoklch(53.39% 0.196 338.2)
XYZxyz(23.8846, 13.0996, 28.8687)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D93 #2DAF49
analogous
#8A2DAF #AF2D93 #AF2D52
triadic
#AF2D93 #93AF2D #2D93AF
tetradic
#AF2D93 #AF8A2D #2DAF49 #2D52AF
square
#AF2D93 #AF8A2D #2DAF49 #2D52AF
split-complementary
#AF2D93 #52AF2D #2DAF8A
monochromatic
#4E1441 #7E206A #AF2D93 #D049B3 #DD7AC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2D93#FFFFFF#000000##FFFFFF
##AF2D931.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)
#335896
Deuteranopia (green-blind)
#5F6D90
Tritanopia (blue-blind)
#B9345D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af2d93;
/* rgb */ color: rgb(175, 45, 147);
/* oklch */ color: oklch(53.4% 0.196 338.2);
Tailwind
colors: {
  custom: {
    50: '#cb73b3',
    500: '#af2d93',
    950: '#000000',
  },
}
SCSS
$custom: #af2d93;
$custom-light: #cb73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d93",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 312.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53388,
    "c": 0.19642,
    "h": 338.2
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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