#AF2D61#AF2D61

#AF2D61 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.170 H 1.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF2D61
RGBrgb(175, 45, 97)
HSLhsl(336, 59%, 43%)
HSVhsv(336, 74%, 69%)
CMYKcmyk(0%, 74.3%, 44.6%, 31.4%)
CIE-LABlab(40.99, 55.56, 1.05)
CIE-LCHlch(40.99, 55.57, 1.08°)
OKLaboklab(51.36% 0.1704 0.0033)
OKLCHoklch(51.36% 0.17 1.1)
XYZxyz(20.7769, 11.8565, 12.5014)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D61 #2DAF7B
analogous
#AF2DA2 #AF2D61 #AF3A2D
triadic
#AF2D61 #61AF2D #2D61AF
tetradic
#AF2D61 #A2AF2D #2DAF7B #3A2DAF
square
#AF2D61 #A2AF2D #2DAF7B #3A2DAF
split-complementary
#AF2D61 #2DAF3A #2DA2AF
monochromatic
#4E142B #7E2046 #AF2D61 #D0497F #DD7AA1

Accessibility & contrast

On white

6.23
#AF2D61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF2D61 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D61
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D61#FFFFFF#000000##FFFFFF
##AF2D611.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5162
Deuteranopia (green-blind)
#6D6A5E
Tritanopia (blue-blind)
#BE1743
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2d61;
/* rgb */ color: rgb(175, 45, 97);
/* oklch */ color: oklch(51.4% 0.170 1.1);
Tailwind
colors: {
  custom: {
    50: '#cc718d',
    500: '#af2d61',
    950: '#000000',
  },
}
SCSS
$custom: #af2d61;
$custom-light: #cc718d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d61",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 336,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.17044,
    "h": 1.1
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#AF2D61
secondary
#73C5A4
accent
#E2A446
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2D61

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

Preview Lab → · Contrast checker → · Palette generator →

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