#AF2576#AF2576

#AF2576 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.187 H 350.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AF2576
RGBrgb(175, 37, 118)
HSLhsl(325, 65%, 42%)
HSVhsv(325, 79%, 69%)
CMYKcmyk(0%, 78.9%, 32.6%, 31.4%)
CIE-LABlab(40.81, 60.30, -12.35)
CIE-LCHlch(40.81, 61.55, 348.42°)
OKLaboklab(51.46% 0.1847 -0.0322)
OKLCHoklch(51.46% 0.187 350.1)
XYZxyz(21.6120, 11.7477, 18.2654)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2576 #25AF5E
analogous
#A325AF #AF2576 #AF2531
triadic
#AF2576 #76AF25 #2576AF
tetradic
#AF2576 #AFA325 #25AF5E #2531AF
square
#AF2576 #AFA325 #25AF5E #2531AF
split-complementary
#AF2576 #31AF25 #25AFA3
monochromatic
#4A1032 #7C1A54 #AF2576 #D63C96 #E06EB1

Accessibility & contrast

On white

6.27
#AF2576 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF2576 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2576
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2576#FFFFFF#000000##FFFFFF
##AF25761.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5178
Deuteranopia (green-blind)
#666973
Tritanopia (blue-blind)
#BC1A4B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2576;
/* rgb */ color: rgb(175, 37, 118);
/* oklch */ color: oklch(51.5% 0.187 350.1);
Tailwind
colors: {
  custom: {
    50: '#cc6f9d',
    500: '#af2576',
    950: '#000000',
  },
}
SCSS
$custom: #af2576;
$custom-light: #cc6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2576",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 324.783,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51461,
    "c": 0.18744,
    "h": 350.1
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#AF2576
secondary
#69C790
accent
#E88540
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2576

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

Preview Lab → · Contrast checker → · Palette generator →

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