#AF2977#AF2977

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

Color values

HEX#AF2977
RGBrgb(175, 41, 119)
HSLhsl(325, 62%, 42%)
HSVhsv(325, 77%, 69%)
CMYKcmyk(0%, 76.6%, 32%, 31.4%)
CIE-LABlab(41.27, 59.22, -12.28)
CIE-LCHlch(41.27, 60.48, 348.29°)
OKLaboklab(51.81% 0.1811 -0.032)
OKLCHoklch(51.81% 0.184 350)
XYZxyz(21.8031, 12.0343, 18.6239)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2977 #29AF61
analogous
#A429AF #AF2977 #AF2934
triadic
#AF2977 #77AF29 #2977AF
tetradic
#AF2977 #AFA429 #29AF61 #2934AF
square
#AF2977 #AFA429 #29AF61 #2934AF
split-complementary
#AF2977 #34AF29 #29AFA4
monochromatic
#4C1234 #7D1D55 #AF2977 #D34296 #DE74B2

Accessibility & contrast

On white

6.16
#AF2977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF2977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2977
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2977#FFFFFF#000000##FFFFFF
##AF29771.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405279
Deuteranopia (green-blind)
#676A74
Tritanopia (blue-blind)
#BC204D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2977;
/* rgb */ color: rgb(175, 41, 119);
/* oklch */ color: oklch(51.8% 0.184 350.0);
Tailwind
colors: {
  custom: {
    50: '#cb709e',
    500: '#af2977',
    950: '#000000',
  },
}
SCSS
$custom: #af2977;
$custom-light: #cb709e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2977",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 325.075,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51807,
    "c": 0.18394,
    "h": 350
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2977

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

Preview Lab → · Contrast checker → · Palette generator →

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