#AF2C76#AF2C76

#AF2C76 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.180 H 350.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AF2C76
RGBrgb(175, 44, 118)
HSLhsl(326, 60%, 43%)
HSVhsv(326, 75%, 69%)
CMYKcmyk(0%, 74.9%, 32.6%, 31.4%)
CIE-LABlab(41.57, 58.14, -11.20)
CIE-LCHlch(41.57, 59.21, 349.10°)
OKLaboklab(52.02% 0.1779 -0.0291)
OKLCHoklch(52.02% 0.18 350.7)
XYZxyz(21.8511, 12.2259, 18.3451)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C76 #2CAF65
analogous
#A62CAF #AF2C76 #AF2C34
triadic
#AF2C76 #76AF2C #2C76AF
tetradic
#AF2C76 #AFA62C #2CAF65 #2C34AF
square
#AF2C76 #AFA62C #2CAF65 #2C34AF
split-complementary
#AF2C76 #34AF2C #2CAFA6
monochromatic
#4D1334 #7E2055 #AF2C76 #D14795 #DD78B1

Accessibility & contrast

On white

6.10
#AF2C76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF2C76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C76
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C76#FFFFFF#000000##FFFFFF
##AF2C761.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425378
Deuteranopia (green-blind)
#686B73
Tritanopia (blue-blind)
#BC234D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2c76;
/* rgb */ color: rgb(175, 44, 118);
/* oklch */ color: oklch(52.0% 0.180 350.7);
Tailwind
colors: {
  custom: {
    50: '#cb729d',
    500: '#af2c76',
    950: '#000000',
  },
}
SCSS
$custom: #af2c76;
$custom-light: #cb729d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c76",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 326.107,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52015,
    "c": 0.18023,
    "h": 350.7
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

primary
#AF2C76
secondary
#72C596
accent
#E38A45
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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