#AF2E77#AF2E77

#AF2E77 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.178 H 350.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AF2E77
RGBrgb(175, 46, 119)
HSLhsl(326, 58%, 43%)
HSVhsv(326, 74%, 69%)
CMYKcmyk(0%, 73.7%, 32%, 31.4%)
CIE-LABlab(41.85, 57.59, -11.40)
CIE-LCHlch(41.85, 58.71, 348.80°)
OKLaboklab(52.23% 0.176 -0.0297)
OKLCHoklch(52.23% 0.178 350.4)
XYZxyz(21.9872, 12.4024, 18.6852)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E77 #2EAF66
analogous
#A62EAF #AF2E77 #AF2E36
triadic
#AF2E77 #77AF2E #2E77AF
tetradic
#AF2E77 #AFA62E #2EAF66 #2E36AF
square
#AF2E77 #AFA62E #2EAF66 #2E36AF
split-complementary
#AF2E77 #36AF2E #2EAFA6
monochromatic
#4E1535 #7F2156 #AF2E77 #D04B96 #DC7BB2

Accessibility & contrast

On white

6.03
#AF2E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AF2E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E77
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E77#FFFFFF#000000##FFFFFF
##AF2E771.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435479
Deuteranopia (green-blind)
#686B74
Tritanopia (blue-blind)
#BC264E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2e77;
/* rgb */ color: rgb(175, 46, 119);
/* oklch */ color: oklch(52.2% 0.178 350.4);
Tailwind
colors: {
  custom: {
    50: '#cb739e',
    500: '#af2e77',
    950: '#000000',
  },
}
SCSS
$custom: #af2e77;
$custom-light: #cb739e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e77",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 326.047,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52229,
    "c": 0.17849,
    "h": 350.4
  },
  "luminance": 0.124
}

Semantic roles & 50–950 ramp

primary
#AF2E77
secondary
#74C597
accent
#E28A46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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