#AF377A#AF377A

#AF377A is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.2% C 0.169 H 350.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF377A
RGBrgb(175, 55, 122)
HSLhsl(327, 52%, 45%)
HSVhsv(327, 69%, 69%)
CMYKcmyk(0%, 68.6%, 30.3%, 31.4%)
CIE-LABlab(43.14, 54.65, -11.30)
CIE-LCHlch(43.14, 55.80, 348.32°)
OKLaboklab(53.21% 0.1665 -0.0295)
OKLCHoklch(53.21% 0.169 350)
XYZxyz(22.5593, 13.2539, 19.7788)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF377A #37AF6C
analogous
#A837AF #AF377A #AF373E
triadic
#AF377A #7AAF37 #377AAF
tetradic
#AF377A #AFA837 #37AF6C #373EAF
square
#AF377A #AFA837 #37AF6C #373EAF
split-complementary
#AF377A #3EAF37 #37AFA8
monochromatic
#521A39 #80285A #AF377A #CB5998 #D987B5

Accessibility & contrast

On white

5.75
#AF377A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF377A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF377A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF377A#FFFFFF#000000##FFFFFF
##AF377A1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587C
Deuteranopia (green-blind)
#6B6E77
Tritanopia (blue-blind)
#BC3154
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af377a;
/* rgb */ color: rgb(175, 55, 122);
/* oklch */ color: oklch(53.2% 0.169 350.0);
Tailwind
colors: {
  custom: {
    50: '#cb77a0',
    500: '#af377a',
    950: '#000000',
  },
}
SCSS
$custom: #af377a;
$custom-light: #cb77a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af377a",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 326.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53214,
    "c": 0.16905,
    "h": 350
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

primary
#AF377A
secondary
#7FC39D
accent
#DC8C4C
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AF377A

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

Preview Lab → · Contrast checker → · Palette generator →

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