#AF3977#AF3977

#AF3977 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.3% C 0.165 H 351.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AF3977
RGBrgb(175, 57, 119)
HSLhsl(328, 51%, 45%)
HSVhsv(328, 67%, 69%)
CMYKcmyk(0%, 67.4%, 32%, 31.4%)
CIE-LABlab(43.32, 53.48, -9.18)
CIE-LCHlch(43.32, 54.26, 350.26°)
OKLaboklab(53.31% 0.1632 -0.0237)
OKLCHoklch(53.31% 0.165 351.7)
XYZxyz(22.4733, 13.3746, 18.8472)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3977 #39AF71
analogous
#AC39AF #AF3977 #AF393C
triadic
#AF3977 #77AF39 #3977AF
tetradic
#AF3977 #AFAC39 #39AF71 #393CAF
square
#AF3977 #AFAC39 #39AF71 #393CAF
split-complementary
#AF3977 #3CAF39 #39AFAC
monochromatic
#531B38 #812A58 #AF3977 #CA5B95 #D98AB3

Accessibility & contrast

On white

5.72
#AF3977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AF3977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3977
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3977#FFFFFF#000000##FFFFFF
##AF39771.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5979
Deuteranopia (green-blind)
#6C6E74
Tritanopia (blue-blind)
#BC3253
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3977;
/* rgb */ color: rgb(175, 57, 119);
/* oklch */ color: oklch(53.3% 0.165 351.7);
Tailwind
colors: {
  custom: {
    50: '#cb789e',
    500: '#af3977',
    950: '#000000',
  },
}
SCSS
$custom: #af3977;
$custom-light: #cb789e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3977",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 119
  },
  "hsl": {
    "h": 328.475,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.16487,
    "h": 351.7
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#AF3977
secondary
#81C3A0
accent
#DA904D
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AF3977

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

Preview Lab → · Contrast checker → · Palette generator →

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