#AF2652#AF2652

#AF2652 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.174 H 7.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF2652
RGBrgb(175, 38, 82)
HSLhsl(341, 64%, 42%)
HSVhsv(341, 78%, 69%)
CMYKcmyk(0%, 78.3%, 53.1%, 31.4%)
CIE-LABlab(39.77, 56.50, 8.78)
CIE-LCHlch(39.77, 57.18, 8.83°)
OKLaboklab(50.32% 0.1722 0.0226)
OKLCHoklch(50.32% 0.174 7.5)
XYZxyz(19.8971, 11.1122, 9.0782)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2652 #26AF83
analogous
#AF2697 #AF2652 #AF3F26
triadic
#AF2652 #52AF26 #2652AF
tetradic
#AF2652 #97AF26 #26AF83 #3F26AF
square
#AF2652 #97AF26 #26AF83 #3F26AF
split-complementary
#AF2652 #26AF3F #2697AF
monochromatic
#4A1023 #7D1B3A #AF2652 #D53D6E #E07094

Accessibility & contrast

On white

6.52
#AF2652 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2652 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2652
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2652#FFFFFF#000000##FFFFFF
##AF26521.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C53
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2652;
/* rgb */ color: rgb(175, 38, 82);
/* oklch */ color: oklch(50.3% 0.174 7.5);
Tailwind
colors: {
  custom: {
    50: '#cd6e82',
    500: '#af2652',
    950: '#000000',
  },
}
SCSS
$custom: #af2652;
$custom-light: #cd6e82;
$custom-dark: #000000;
JSON
{
  "hex": "#af2652",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 82
  },
  "hsl": {
    "h": 340.73,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.1737,
    "h": 7.5
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#AF2652
secondary
#6AC7A9
accent
#E7B240
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2652

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

Preview Lab → · Contrast checker → · Palette generator →

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