#AF3780#AF3780

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

Color values

HEX#AF3780
RGBrgb(175, 55, 128)
HSLhsl(324, 52%, 45%)
HSVhsv(324, 69%, 69%)
CMYKcmyk(0%, 68.6%, 26.9%, 31.4%)
CIE-LABlab(43.37, 55.41, -14.63)
CIE-LCHlch(43.37, 57.31, 345.20°)
OKLaboklab(53.46% 0.168 -0.0386)
OKLCHoklch(53.46% 0.172 347.1)
XYZxyz(22.9426, 13.4073, 21.7975)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3780 #37AF66
analogous
#A237AF #AF3780 #AF3744
triadic
#AF3780 #80AF37 #3780AF
tetradic
#AF3780 #AFA237 #37AF66 #3744AF
square
#AF3780 #AFA237 #37AF66 #3744AF
split-complementary
#AF3780 #44AF37 #37AFA2
monochromatic
#521A3C #80285E #AF3780 #CB599E #D987B9

Accessibility & contrast

On white

5.70
#AF3780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3780
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3780#FFFFFF#000000##FFFFFF
##AF37801.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465982
Deuteranopia (green-blind)
#696E7D
Tritanopia (blue-blind)
#BB3456
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3780;
/* rgb */ color: rgb(175, 55, 128);
/* oklch */ color: oklch(53.5% 0.172 347.1);
Tailwind
colors: {
  custom: {
    50: '#cb77a5',
    500: '#af3780',
    950: '#000000',
  },
}
SCSS
$custom: #af3780;
$custom-light: #cb77a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3780",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 128
  },
  "hsl": {
    "h": 323.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53455,
    "c": 0.17236,
    "h": 347.1
  },
  "luminance": 0.13405
}

Semantic roles & 50–950 ramp

primary
#AF3780
secondary
#7FC399
accent
#DC844C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3780

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

Preview Lab → · Contrast checker → · Palette generator →

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