#AF2D55#AF2D55

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

Color values

HEX#AF2D55
RGBrgb(175, 45, 85)
HSLhsl(342, 59%, 43%)
HSVhsv(342, 74%, 69%)
CMYKcmyk(0%, 74.3%, 51.4%, 31.4%)
CIE-LABlab(40.65, 54.48, 8.13)
CIE-LCHlch(40.65, 55.08, 8.48°)
OKLaboklab(51% 0.1661 0.021)
OKLCHoklch(51% 0.167 7.2)
XYZxyz(20.2591, 11.6494, 9.7743)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D55 #2DAF87
analogous
#AF2D96 #AF2D55 #AF462D
triadic
#AF2D55 #55AF2D #2D55AF
tetradic
#AF2D55 #96AF2D #2DAF87 #462DAF
square
#AF2D55 #96AF2D #2DAF87 #462DAF
split-complementary
#AF2D55 #2DAF46 #2D96AF
monochromatic
#4E1426 #7E203D #AF2D55 #D04973 #DD7A98

Accessibility & contrast

On white

6.31
#AF2D55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2D55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D55
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D55#FFFFFF#000000##FFFFFF
##AF2D551.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F56
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#BF0E3E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2d55;
/* rgb */ color: rgb(175, 45, 85);
/* oklch */ color: oklch(51.0% 0.167 7.2);
Tailwind
colors: {
  custom: {
    50: '#cd7184',
    500: '#af2d55',
    950: '#000000',
  },
}
SCSS
$custom: #af2d55;
$custom-light: #cd7184;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d55",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 85
  },
  "hsl": {
    "h": 341.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50999,
    "c": 0.16738,
    "h": 7.2
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#AF2D55
secondary
#73C5AC
accent
#E2B246
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2D55

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

Preview Lab → · Contrast checker → · Palette generator →

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