#AF377E#AF377E

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

Color values

HEX#AF377E
RGBrgb(175, 55, 126)
HSLhsl(325, 52%, 45%)
HSVhsv(325, 69%, 69%)
CMYKcmyk(0%, 68.6%, 28%, 31.4%)
CIE-LABlab(43.29, 55.15, -13.53)
CIE-LCHlch(43.29, 56.79, 346.22°)
OKLaboklab(53.37% 0.1675 -0.0356)
OKLCHoklch(53.37% 0.171 348)
XYZxyz(22.8123, 13.3551, 21.1110)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF377E #37AF68
analogous
#A437AF #AF377E #AF3742
triadic
#AF377E #7EAF37 #377EAF
tetradic
#AF377E #AFA437 #37AF68 #3742AF
square
#AF377E #AFA437 #37AF68 #3742AF
split-complementary
#AF377E #42AF37 #37AFA4
monochromatic
#521A3B #80285C #AF377E #CB599C #D987B8

Accessibility & contrast

On white

5.72
#AF377E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF377E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF377E#FFFFFF#000000##FFFFFF
##AF377E1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#BB3355
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af377e;
/* rgb */ color: rgb(175, 55, 126);
/* oklch */ color: oklch(53.4% 0.171 348.0);
Tailwind
colors: {
  custom: {
    50: '#cb77a3',
    500: '#af377e',
    950: '#000000',
  },
}
SCSS
$custom: #af377e;
$custom-light: #cb77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af377e",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 324.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.17122,
    "h": 348
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF377E

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

Preview Lab → · Contrast checker → · Palette generator →

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