#AF2C58#AF2C58

#AF2C58 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.169 H 5.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AF2C58
RGBrgb(175, 44, 88)
HSLhsl(340, 60%, 43%)
HSVhsv(340, 75%, 69%)
CMYKcmyk(0%, 74.9%, 49.7%, 31.4%)
CIE-LABlab(40.61, 55.08, 6.17)
CIE-LCHlch(40.61, 55.42, 6.39°)
OKLaboklab(50.99% 0.1683 0.0162)
OKLCHoklch(50.99% 0.169 5.5)
XYZxyz(20.3431, 11.6227, 10.4028)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C58 #2CAF83
analogous
#AF2C99 #AF2C58 #AF412C
triadic
#AF2C58 #58AF2C #2C58AF
tetradic
#AF2C58 #99AF2C #2CAF83 #412CAF
square
#AF2C58 #99AF2C #2CAF83 #412CAF
split-complementary
#AF2C58 #2CAF41 #2C99AF
monochromatic
#4D1327 #7E203F #AF2C58 #D14776 #DD789A

Accessibility & contrast

On white

6.32
#AF2C58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C58
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C58#FFFFFF#000000##FFFFFF
##AF2C581.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F59
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#BF0E3F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c58;
/* rgb */ color: rgb(175, 44, 88);
/* oklch */ color: oklch(51.0% 0.169 5.5);
Tailwind
colors: {
  custom: {
    50: '#cd7186',
    500: '#af2c58',
    950: '#000000',
  },
}
SCSS
$custom: #af2c58;
$custom-light: #cd7186;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c58",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 339.847,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.16905,
    "h": 5.5
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#AF2C58
secondary
#72C5A9
accent
#E3AE45
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2C58

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

Preview Lab → · Contrast checker → · Palette generator →

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