#AF377D#AF377D

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

Color values

HEX#AF377D
RGBrgb(175, 55, 125)
HSLhsl(325, 52%, 45%)
HSVhsv(325, 69%, 69%)
CMYKcmyk(0%, 68.6%, 28.6%, 31.4%)
CIE-LABlab(43.26, 55.02, -12.97)
CIE-LCHlch(43.26, 56.53, 346.74°)
OKLaboklab(53.33% 0.1672 -0.034)
OKLCHoklch(53.33% 0.171 348.5)
XYZxyz(22.7481, 13.3294, 20.7729)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF377D #37AF69
analogous
#A537AF #AF377D #AF3741
triadic
#AF377D #7DAF37 #377DAF
tetradic
#AF377D #AFA537 #37AF69 #3741AF
square
#AF377D #AFA537 #37AF69 #3741AF
split-complementary
#AF377D #41AF37 #37AFA5
monochromatic
#521A3A #80285C #AF377D #CB599B #D987B7

Accessibility & contrast

On white

5.73
#AF377D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AF377D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF377D
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF377D#FFFFFF#000000##FFFFFF
##AF377D1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47597F
Deuteranopia (green-blind)
#6A6E7A
Tritanopia (blue-blind)
#BB3255
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af377d;
/* rgb */ color: rgb(175, 55, 125);
/* oklch */ color: oklch(53.3% 0.171 348.5);
Tailwind
colors: {
  custom: {
    50: '#cb77a2',
    500: '#af377d',
    950: '#000000',
  },
}
SCSS
$custom: #af377d;
$custom-light: #cb77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af377d",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 325,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.17067,
    "h": 348.5
  },
  "luminance": 0.13327
}

Semantic roles & 50–950 ramp

primary
#AF377D
secondary
#7FC39B
accent
#DC884C
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF377D

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

Preview Lab → · Contrast checker → · Palette generator →

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