#AF2552#AF2552

#AF2552 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.175 H 7.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF2552
RGBrgb(175, 37, 82)
HSLhsl(340, 65%, 42%)
HSVhsv(340, 79%, 69%)
CMYKcmyk(0%, 78.9%, 53.1%, 31.4%)
CIE-LABlab(39.66, 56.80, 8.63)
CIE-LCHlch(39.66, 57.45, 8.64°)
OKLaboklab(50.24% 0.1732 0.0222)
OKLCHoklch(50.24% 0.175 7.3)
XYZxyz(19.8656, 11.0491, 9.0676)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2552 #25AF82
analogous
#AF2597 #AF2552 #AF3D25
triadic
#AF2552 #52AF25 #2552AF
tetradic
#AF2552 #97AF25 #25AF82 #3D25AF
square
#AF2552 #97AF25 #25AF82 #3D25AF
split-complementary
#AF2552 #25AF3D #2597AF
monochromatic
#4A1023 #7C1A3A #AF2552 #D63C6E #E06E93

Accessibility & contrast

On white

6.54
#AF2552 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2552 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2552
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2552#FFFFFF#000000##FFFFFF
##AF25521.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C53
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2552;
/* rgb */ color: rgb(175, 37, 82);
/* oklch */ color: oklch(50.2% 0.175 7.3);
Tailwind
colors: {
  custom: {
    50: '#cd6e82',
    500: '#af2552',
    950: '#000000',
  },
}
SCSS
$custom: #af2552;
$custom-light: #cd6e82;
$custom-dark: #000000;
JSON
{
  "hex": "#af2552",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 340.435,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.1746,
    "h": 7.3
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#AF2552
secondary
#69C7A8
accent
#E8B140
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2552

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

Preview Lab → · Contrast checker → · Palette generator →

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