#AF2C85#AF2C85

#AF2C85 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.189 H 343.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AF2C85
RGBrgb(175, 44, 133)
HSLhsl(319, 60%, 43%)
HSVhsv(319, 75%, 69%)
CMYKcmyk(0%, 74.9%, 24%, 31.4%)
CIE-LABlab(42.17, 60.00, -19.53)
CIE-LCHlch(42.17, 63.10, 341.97°)
OKLaboklab(52.65% 0.1812 -0.0522)
OKLCHoklch(52.65% 0.189 343.9)
XYZxyz(22.8144, 12.6112, 23.4185)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C85 #2CAF56
analogous
#972CAF #AF2C85 #AF2C43
triadic
#AF2C85 #85AF2C #2C85AF
tetradic
#AF2C85 #AF972C #2CAF56 #2C43AF
square
#AF2C85 #AF972C #2CAF56 #2C43AF
split-complementary
#AF2C85 #43AF2C #2CAF97
monochromatic
#4D133B #7E2060 #AF2C85 #D147A5 #DD78BD

Accessibility & contrast

On white

5.96
#AF2C85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AF2C85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C85
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C85#FFFFFF#000000##FFFFFF
##AF2C851.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5687
Deuteranopia (green-blind)
#636B82
Tritanopia (blue-blind)
#BB2B55
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2c85;
/* rgb */ color: rgb(175, 44, 133);
/* oklch */ color: oklch(52.6% 0.189 343.9);
Tailwind
colors: {
  custom: {
    50: '#cb72a8',
    500: '#af2c85',
    950: '#000000',
  },
}
SCSS
$custom: #af2c85;
$custom-light: #cb72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c85",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 319.237,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.18856,
    "h": 343.9
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#AF2C85
secondary
#72C58C
accent
#E37845
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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