#AF2C51#AF2C51

#AF2C51 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.168 H 9.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF2C51
RGBrgb(175, 44, 81)
HSLhsl(343, 60%, 43%)
HSVhsv(343, 75%, 69%)
CMYKcmyk(0%, 74.9%, 53.7%, 31.4%)
CIE-LABlab(40.43, 54.49, 10.34)
CIE-LCHlch(40.43, 55.47, 10.74°)
OKLaboklab(50.8% 0.1656 0.0264)
OKLCHoklch(50.8% 0.168 9.1)
XYZxyz(20.0669, 11.5122, 8.9484)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C51 #2CAF8A
analogous
#AF2C93 #AF2C51 #AF482C
triadic
#AF2C51 #51AF2C #2C51AF
tetradic
#AF2C51 #93AF2C #2CAF8A #482CAF
square
#AF2C51 #93AF2C #2CAF8A #482CAF
split-complementary
#AF2C51 #2CAF48 #2C93AF
monochromatic
#4D1324 #7E203A #AF2C51 #D1476E #DD7895

Accessibility & contrast

On white

6.36
#AF2C51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF2C51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C51
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C51#FFFFFF#000000##FFFFFF
##AF2C511.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#6F694E
Tritanopia (blue-blind)
#BF073B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c51;
/* rgb */ color: rgb(175, 44, 81);
/* oklch */ color: oklch(50.8% 0.168 9.1);
Tailwind
colors: {
  custom: {
    50: '#cd7181',
    500: '#af2c51',
    950: '#000000',
  },
}
SCSS
$custom: #af2c51;
$custom-light: #cd7181;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c51",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 81
  },
  "hsl": {
    "h": 343.053,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.16771,
    "h": 9.1
  },
  "luminance": 0.11509
}

Semantic roles & 50–950 ramp

primary
#AF2C51
secondary
#72C5AE
accent
#E3B645
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2C51

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

Preview Lab → · Contrast checker → · Palette generator →

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