#AF2C54#AF2C54

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

Color values

HEX#AF2C54
RGBrgb(175, 44, 84)
HSLhsl(342, 60%, 43%)
HSVhsv(342, 75%, 69%)
CMYKcmyk(0%, 74.9%, 52%, 31.4%)
CIE-LABlab(40.51, 54.74, 8.55)
CIE-LCHlch(40.51, 55.40, 8.88°)
OKLaboklab(50.88% 0.1668 0.0221)
OKLCHoklch(50.88% 0.168 7.5)
XYZxyz(20.1819, 11.5582, 9.5540)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C54 #2CAF87
analogous
#AF2C96 #AF2C54 #AF452C
triadic
#AF2C54 #54AF2C #2C54AF
tetradic
#AF2C54 #96AF2C #2CAF87 #452CAF
square
#AF2C54 #96AF2C #2CAF87 #452CAF
split-complementary
#AF2C54 #2CAF45 #2C96AF
monochromatic
#4D1325 #7E203D #AF2C54 #D14771 #DD7897

Accessibility & contrast

On white

6.34
#AF2C54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF2C54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C54
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C54#FFFFFF#000000##FFFFFF
##AF2C541.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F55
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#BF0A3D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c54;
/* rgb */ color: rgb(175, 44, 84);
/* oklch */ color: oklch(50.9% 0.168 7.5);
Tailwind
colors: {
  custom: {
    50: '#cd7183',
    500: '#af2c54',
    950: '#000000',
  },
}
SCSS
$custom: #af2c54;
$custom-light: #cd7183;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c54",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 84
  },
  "hsl": {
    "h": 341.679,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50882,
    "c": 0.16822,
    "h": 7.5
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

primary
#AF2C54
secondary
#72C5AC
accent
#E3B345
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2C54

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

Preview Lab → · Contrast checker → · Palette generator →

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