#AF2D56#AF2D56

#AF2D56 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.168 H 6.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF2D56
RGBrgb(175, 45, 86)
HSLhsl(341, 59%, 43%)
HSVhsv(341, 74%, 69%)
CMYKcmyk(0%, 74.3%, 50.9%, 31.4%)
CIE-LABlab(40.68, 54.56, 7.53)
CIE-LCHlch(40.68, 55.08, 7.86°)
OKLaboklab(51.03% 0.1664 0.0196)
OKLCHoklch(51.03% 0.168 6.7)
XYZxyz(20.2991, 11.6654, 9.9850)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D56 #2DAF86
analogous
#AF2D97 #AF2D56 #AF452D
triadic
#AF2D56 #56AF2D #2D56AF
tetradic
#AF2D56 #97AF2D #2DAF86 #452DAF
square
#AF2D56 #97AF2D #2DAF86 #452DAF
split-complementary
#AF2D56 #2DAF45 #2D97AF
monochromatic
#4E1426 #7E203E #AF2D56 #D04974 #DD7A99

Accessibility & contrast

On white

6.30
#AF2D56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2D56
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D56#FFFFFF#000000##FFFFFF
##AF2D561.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2d56;
/* rgb */ color: rgb(175, 45, 86);
/* oklch */ color: oklch(51.0% 0.168 6.7);
Tailwind
colors: {
  custom: {
    50: '#cd7185',
    500: '#af2d56',
    950: '#000000',
  },
}
SCSS
$custom: #af2d56;
$custom-light: #cd7185;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d56",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 341.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.16758,
    "h": 6.7
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#AF2D56
secondary
#73C5AB
accent
#E2B146
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2D56

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

Preview Lab → · Contrast checker → · Palette generator →

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