#AF2876#AF2876

#AF2876 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.184 H 350.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF2876
RGBrgb(175, 40, 118)
HSLhsl(325, 63%, 42%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 77.1%, 32.6%, 31.4%)
CIE-LABlab(41.12, 59.41, -11.88)
CIE-LCHlch(41.12, 60.59, 348.69°)
OKLaboklab(51.69% 0.1819 -0.0309)
OKLCHoklch(51.69% 0.184 350.3)
XYZxyz(21.7092, 11.9421, 18.2979)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2876 #28AF61
analogous
#A528AF #AF2876 #AF2833
triadic
#AF2876 #76AF28 #2876AF
tetradic
#AF2876 #AFA528 #28AF61 #2833AF
square
#AF2876 #AFA528 #28AF61 #2833AF
split-complementary
#AF2876 #33AF28 #28AFA5
monochromatic
#4B1133 #7D1D54 #AF2876 #D44196 #DF73B1

Accessibility & contrast

On white

6.20
#AF2876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2876
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2876#FFFFFF#000000##FFFFFF
##AF28761.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405278
Deuteranopia (green-blind)
#676A73
Tritanopia (blue-blind)
#BC1E4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2876;
/* rgb */ color: rgb(175, 40, 118);
/* oklch */ color: oklch(51.7% 0.184 350.3);
Tailwind
colors: {
  custom: {
    50: '#cb709d',
    500: '#af2876',
    950: '#000000',
  },
}
SCSS
$custom: #af2876;
$custom-light: #cb709d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2876",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 325.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.18447,
    "h": 350.3
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2876

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

Preview Lab → · Contrast checker → · Palette generator →

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