#AF2770#AF2770

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

Color values

HEX#AF2770
RGBrgb(175, 39, 112)
HSLhsl(328, 64%, 42%)
HSVhsv(328, 78%, 69%)
CMYKcmyk(0%, 77.7%, 36%, 31.4%)
CIE-LABlab(40.80, 59.04, -8.64)
CIE-LCHlch(40.80, 59.67, 351.68°)
OKLaboklab(51.38% 0.1812 -0.0221)
OKLCHoklch(51.38% 0.183 353)
XYZxyz(21.3307, 11.7375, 16.4684)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2770 #27AF66
analogous
#AA27AF #AF2770 #AF272C
triadic
#AF2770 #70AF27 #2770AF
tetradic
#AF2770 #AFAA27 #27AF66 #272CAF
square
#AF2770 #AFAA27 #27AF66 #272CAF
split-complementary
#AF2770 #2CAF27 #27AFAA
monochromatic
#4B1130 #7D1C50 #AF2770 #D43F8F #DF71AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2770#FFFFFF#000000##FFFFFF
##AF27701.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)
#415072
Deuteranopia (green-blind)
#68696D
Tritanopia (blue-blind)
#BD1848
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2770;
/* rgb */ color: rgb(175, 39, 112);
/* oklch */ color: oklch(51.4% 0.183 353.0);
Tailwind
colors: {
  custom: {
    50: '#cc6f99',
    500: '#af2770',
    950: '#000000',
  },
}
SCSS
$custom: #af2770;
$custom-light: #cc6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#af2770",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 327.794,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51376,
    "c": 0.18259,
    "h": 353
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#AF2770
secondary
#6BC696
accent
#E78E41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2770

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

Preview Lab → · Contrast checker → · Palette generator →

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