#AF2C50#AF2C50

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

Color values

HEX#AF2C50
RGBrgb(175, 44, 80)
HSLhsl(344, 60%, 43%)
HSVhsv(344, 75%, 69%)
CMYKcmyk(0%, 74.9%, 54.3%, 31.4%)
CIE-LABlab(40.41, 54.41, 10.94)
CIE-LCHlch(40.41, 55.50, 11.36°)
OKLaboklab(50.78% 0.1652 0.0278)
OKLCHoklch(50.78% 0.168 9.6)
XYZxyz(20.0297, 11.4973, 8.7524)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C50 #2CAF8B
analogous
#AF2C92 #AF2C50 #AF492C
triadic
#AF2C50 #50AF2C #2C50AF
tetradic
#AF2C50 #92AF2C #2CAF8B #492CAF
square
#AF2C50 #92AF2C #2CAF8B #492CAF
split-complementary
#AF2C50 #2CAF49 #2C92AF
monochromatic
#4D1323 #7E203A #AF2C50 #D1476D #DD7894

Accessibility & contrast

On white

6.37
#AF2C50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C50
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C50#FFFFFF#000000##FFFFFF
##AF2C501.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E51
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#BF063B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c50;
/* rgb */ color: rgb(175, 44, 80);
/* oklch */ color: oklch(50.8% 0.168 9.6);
Tailwind
colors: {
  custom: {
    50: '#cd7180',
    500: '#af2c50',
    950: '#000000',
  },
}
SCSS
$custom: #af2c50;
$custom-light: #cd7180;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c50",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 80
  },
  "hsl": {
    "h": 343.511,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.16755,
    "h": 9.6
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2C50

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

Preview Lab → · Contrast checker → · Palette generator →

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