#AF2A55#AF2A55

#AF2A55 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.170 H 6.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF2A55
RGBrgb(175, 42, 85)
HSLhsl(341, 61%, 43%)
HSVhsv(341, 76%, 69%)
CMYKcmyk(0%, 76%, 51.4%, 31.4%)
CIE-LABlab(40.29, 55.49, 7.62)
CIE-LCHlch(40.29, 56.01, 7.82°)
OKLaboklab(50.73% 0.1693 0.0198)
OKLCHoklch(50.73% 0.17 6.7)
XYZxyz(20.1486, 11.4286, 9.7375)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A55 #2AAF84
analogous
#AF2A97 #AF2A55 #AF422A
triadic
#AF2A55 #55AF2A #2A55AF
tetradic
#AF2A55 #97AF2A #2AAF84 #422AAF
square
#AF2A55 #97AF2A #2AAF84 #422AAF
split-complementary
#AF2A55 #2AAF42 #2A97AF
monochromatic
#4C1225 #7E1E3D #AF2A55 #D24472 #DE7597

Accessibility & contrast

On white

6.39
#AF2A55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2A55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A55
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A55#FFFFFF#000000##FFFFFF
##AF2A551.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E56
Deuteranopia (green-blind)
#6E6952
Tritanopia (blue-blind)
#BF043C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2a55;
/* rgb */ color: rgb(175, 42, 85);
/* oklch */ color: oklch(50.7% 0.170 6.7);
Tailwind
colors: {
  custom: {
    50: '#cd7084',
    500: '#af2a55',
    950: '#000000',
  },
}
SCSS
$custom: #af2a55;
$custom-light: #cd7084;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a55",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 340.602,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50734,
    "c": 0.17045,
    "h": 6.7
  },
  "luminance": 0.11426
}

Semantic roles & 50–950 ramp

primary
#AF2A55
secondary
#6FC6AA
accent
#E4B043
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2A55

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

Preview Lab → · Contrast checker → · Palette generator →

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