#AF377C#AF377C

#AF377C is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.170 H 349.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF377C
RGBrgb(175, 55, 124)
HSLhsl(326, 52%, 45%)
HSVhsv(326, 69%, 69%)
CMYKcmyk(0%, 68.6%, 29.1%, 31.4%)
CIE-LABlab(43.22, 54.90, -12.41)
CIE-LCHlch(43.22, 56.28, 347.26°)
OKLaboklab(53.29% 0.167 -0.0325)
OKLCHoklch(53.29% 0.17 349)
XYZxyz(22.6845, 13.3040, 20.4382)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF377C #37AF6A
analogous
#A637AF #AF377C #AF3740
triadic
#AF377C #7CAF37 #377CAF
tetradic
#AF377C #AFA637 #37AF6A #3740AF
square
#AF377C #AFA637 #37AF6A #3740AF
split-complementary
#AF377C #40AF37 #37AFA6
monochromatic
#521A3A #80285B #AF377C #CB599A #D987B6

Accessibility & contrast

On white

5.74
#AF377C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF377C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF377C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF377C#FFFFFF#000000##FFFFFF
##AF377C1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597E
Deuteranopia (green-blind)
#6A6E79
Tritanopia (blue-blind)
#BB3254
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af377c;
/* rgb */ color: rgb(175, 55, 124);
/* oklch */ color: oklch(53.3% 0.170 349.0);
Tailwind
colors: {
  custom: {
    50: '#cb77a2',
    500: '#af377c',
    950: '#000000',
  },
}
SCSS
$custom: #af377c;
$custom-light: #cb77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af377c",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 325.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53293,
    "c": 0.17012,
    "h": 349
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#AF377C
secondary
#7FC39C
accent
#DC894C
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AF377C

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

Preview Lab → · Contrast checker → · Palette generator →

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