#AF2D51#AF2D51

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

Color values

HEX#AF2D51
RGBrgb(175, 45, 81)
HSLhsl(343, 59%, 43%)
HSVhsv(343, 74%, 69%)
CMYKcmyk(0%, 74.3%, 53.7%, 31.4%)
CIE-LABlab(40.55, 54.15, 10.51)
CIE-LCHlch(40.55, 55.16, 10.98°)
OKLaboklab(50.89% 0.1645 0.0268)
OKLCHoklch(50.89% 0.167 9.2)
XYZxyz(20.1046, 11.5876, 8.9610)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D51 #2DAF8B
analogous
#AF2D92 #AF2D51 #AF4A2D
triadic
#AF2D51 #51AF2D #2D51AF
tetradic
#AF2D51 #92AF2D #2DAF8B #4A2DAF
square
#AF2D51 #92AF2D #2DAF8B #4A2DAF
split-complementary
#AF2D51 #2DAF4A #2D92AF
monochromatic
#4E1424 #7E203A #AF2D51 #D0496E #DD7A95

Accessibility & contrast

On white

6.33
#AF2D51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF2D51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D51
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D51#FFFFFF#000000##FFFFFF
##AF2D511.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F52
Deuteranopia (green-blind)
#70694E
Tritanopia (blue-blind)
#BF0A3C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2d51;
/* rgb */ color: rgb(175, 45, 81);
/* oklch */ color: oklch(50.9% 0.167 9.2);
Tailwind
colors: {
  custom: {
    50: '#cd7181',
    500: '#af2d51',
    950: '#000000',
  },
}
SCSS
$custom: #af2d51;
$custom-light: #cd7181;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d51",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 81
  },
  "hsl": {
    "h": 343.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50893,
    "c": 0.16668,
    "h": 9.2
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#AF2D51
secondary
#73C5AE
accent
#E2B746
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2D51

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

Preview Lab → · Contrast checker → · Palette generator →

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