#AF2C55#AF2C55

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

Color values

HEX#AF2C55
RGBrgb(175, 44, 85)
HSLhsl(341, 60%, 43%)
HSVhsv(341, 75%, 69%)
CMYKcmyk(0%, 74.9%, 51.4%, 31.4%)
CIE-LABlab(40.53, 54.82, 7.95)
CIE-LCHlch(40.53, 55.39, 8.26°)
OKLaboklab(50.91% 0.1672 0.0206)
OKLCHoklch(50.91% 0.168 7)
XYZxyz(20.2214, 11.5740, 9.7618)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C55 #2CAF86
analogous
#AF2C96 #AF2C55 #AF442C
triadic
#AF2C55 #55AF2C #2C55AF
tetradic
#AF2C55 #96AF2C #2CAF86 #442CAF
square
#AF2C55 #96AF2C #2CAF86 #442CAF
split-complementary
#AF2C55 #2CAF44 #2C96AF
monochromatic
#4D1325 #7E203D #AF2C55 #D14772 #DD7898

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2C55#FFFFFF#000000##FFFFFF
##AF2C551.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)
#4C4F56
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#BF0B3D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c55;
/* rgb */ color: rgb(175, 44, 85);
/* oklch */ color: oklch(50.9% 0.168 7.0);
Tailwind
colors: {
  custom: {
    50: '#cd7184',
    500: '#af2c55',
    950: '#000000',
  },
}
SCSS
$custom: #af2c55;
$custom-light: #cd7184;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c55",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 85
  },
  "hsl": {
    "h": 341.221,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.16842,
    "h": 7
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#AF2C55
secondary
#72C5AB
accent
#E3B145
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2C55

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

Preview Lab → · Contrast checker → · Palette generator →

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