#AF2976#AF2976

#AF2976 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.183 H 350.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AF2976
RGBrgb(175, 41, 118)
HSLhsl(326, 62%, 42%)
HSVhsv(326, 77%, 69%)
CMYKcmyk(0%, 76.6%, 32.6%, 31.4%)
CIE-LABlab(41.23, 59.10, -11.71)
CIE-LCHlch(41.23, 60.25, 348.79°)
OKLaboklab(51.77% 0.1809 -0.0305)
OKLCHoklch(51.77% 0.183 350.4)
XYZxyz(21.7434, 12.0104, 18.3092)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2976 #29AF62
analogous
#A529AF #AF2976 #AF2933
triadic
#AF2976 #76AF29 #2976AF
tetradic
#AF2976 #AFA529 #29AF62 #2933AF
square
#AF2976 #AFA529 #29AF62 #2933AF
split-complementary
#AF2976 #33AF29 #29AFA5
monochromatic
#4C1233 #7D1D55 #AF2976 #D34295 #DE74B1

Accessibility & contrast

On white

6.17
#AF2976 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF2976 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2976
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2976#FFFFFF#000000##FFFFFF
##AF29761.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2976;
/* rgb */ color: rgb(175, 41, 118);
/* oklch */ color: oklch(51.8% 0.183 350.4);
Tailwind
colors: {
  custom: {
    50: '#cb709d',
    500: '#af2976',
    950: '#000000',
  },
}
SCSS
$custom: #af2976;
$custom-light: #cb709d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2976",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 325.522,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.18344,
    "h": 350.4
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#AF2976
secondary
#6EC693
accent
#E58843
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2976

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

Preview Lab → · Contrast checker → · Palette generator →

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