#AF377F#AF377F

#AF377F is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.172 H 347.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AF377F
RGBrgb(175, 55, 127)
HSLhsl(324, 52%, 45%)
HSVhsv(324, 69%, 69%)
CMYKcmyk(0%, 68.6%, 27.4%, 31.4%)
CIE-LABlab(43.33, 55.28, -14.08)
CIE-LCHlch(43.33, 57.05, 345.71°)
OKLaboklab(53.41% 0.1677 -0.0371)
OKLCHoklch(53.41% 0.172 347.5)
XYZxyz(22.8771, 13.3811, 21.4526)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF377F #37AF67
analogous
#A337AF #AF377F #AF3743
triadic
#AF377F #7FAF37 #377FAF
tetradic
#AF377F #AFA337 #37AF67 #3743AF
square
#AF377F #AFA337 #37AF67 #3743AF
split-complementary
#AF377F #43AF37 #37AFA3
monochromatic
#521A3B #80285D #AF377F #CB599D #D987B8

Accessibility & contrast

On white

5.71
#AF377F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF377F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF377F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF377F#FFFFFF#000000##FFFFFF
##AF377F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465981
Deuteranopia (green-blind)
#696E7C
Tritanopia (blue-blind)
#BB3356
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af377f;
/* rgb */ color: rgb(175, 55, 127);
/* oklch */ color: oklch(53.4% 0.172 347.5);
Tailwind
colors: {
  custom: {
    50: '#cb77a4',
    500: '#af377f',
    950: '#000000',
  },
}
SCSS
$custom: #af377f;
$custom-light: #cb77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af377f",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 324,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53414,
    "c": 0.17179,
    "h": 347.5
  },
  "luminance": 0.13379
}

Semantic roles & 50–950 ramp

primary
#AF377F
secondary
#7FC39A
accent
#DC864C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF377F

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

Preview Lab → · Contrast checker → · Palette generator →

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