#AF2D52#AF2D52

#AF2D52 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.167 H 8.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF2D52
RGBrgb(175, 45, 82)
HSLhsl(343, 59%, 43%)
HSVhsv(343, 74%, 69%)
CMYKcmyk(0%, 74.3%, 53.1%, 31.4%)
CIE-LABlab(40.58, 54.23, 9.91)
CIE-LCHlch(40.58, 55.13, 10.36°)
OKLaboklab(50.92% 0.1649 0.0254)
OKLCHoklch(50.92% 0.167 8.7)
XYZxyz(20.1424, 11.6027, 9.1599)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D52 #2DAF8A
analogous
#AF2D93 #AF2D52 #AF492D
triadic
#AF2D52 #52AF2D #2D52AF
tetradic
#AF2D52 #93AF2D #2DAF8A #492DAF
square
#AF2D52 #93AF2D #2DAF8A #492DAF
split-complementary
#AF2D52 #2DAF49 #2D93AF
monochromatic
#4E1424 #7E203B #AF2D52 #D0496F #DD7A96

Accessibility & contrast

On white

6.33
#AF2D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF2D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D52
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D52#FFFFFF#000000##FFFFFF
##AF2D521.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F53
Deuteranopia (green-blind)
#70694F
Tritanopia (blue-blind)
#BF0B3C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2d52;
/* rgb */ color: rgb(175, 45, 82);
/* oklch */ color: oklch(50.9% 0.167 8.7);
Tailwind
colors: {
  custom: {
    50: '#cd7182',
    500: '#af2d52',
    950: '#000000',
  },
}
SCSS
$custom: #af2d52;
$custom-light: #cd7182;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d52",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 342.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.16684,
    "h": 8.7
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#AF2D52
secondary
#73C5AE
accent
#E2B646
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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