#AF2877#AF2877

#AF2877 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.185 H 349.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF2877
RGBrgb(175, 40, 119)
HSLhsl(325, 63%, 42%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 77.1%, 32%, 31.4%)
CIE-LABlab(41.16, 59.53, -12.44)
CIE-LCHlch(41.16, 60.82, 348.19°)
OKLaboklab(51.73% 0.1821 -0.0325)
OKLCHoklch(51.73% 0.185 349.9)
XYZxyz(21.7690, 11.9660, 18.6125)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2877 #28AF60
analogous
#A428AF #AF2877 #AF2833
triadic
#AF2877 #77AF28 #2877AF
tetradic
#AF2877 #AFA428 #28AF60 #2833AF
square
#AF2877 #AFA428 #28AF60 #2833AF
split-complementary
#AF2877 #33AF28 #28AFA4
monochromatic
#4B1133 #7D1D55 #AF2877 #D44197 #DF73B2

Accessibility & contrast

On white

6.19
#AF2877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2877
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2877#FFFFFF#000000##FFFFFF
##AF28771.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5279
Deuteranopia (green-blind)
#666A74
Tritanopia (blue-blind)
#BC1F4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2877;
/* rgb */ color: rgb(175, 40, 119);
/* oklch */ color: oklch(51.7% 0.185 349.9);
Tailwind
colors: {
  custom: {
    50: '#cb709e',
    500: '#af2877',
    950: '#000000',
  },
}
SCSS
$custom: #af2877;
$custom-light: #cb709e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2877",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 324.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51728,
    "c": 0.18498,
    "h": 349.9
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#AF2877
secondary
#6DC692
accent
#E68642
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2877

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

Preview Lab → · Contrast checker → · Palette generator →

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