#AF3784#AF3784

#AF3784 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.175 H 345.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AF3784
RGBrgb(175, 55, 132)
HSLhsl(322, 52%, 45%)
HSVhsv(322, 69%, 69%)
CMYKcmyk(0%, 68.6%, 24.6%, 31.4%)
CIE-LABlab(43.53, 55.94, -16.84)
CIE-LCHlch(43.53, 58.42, 343.25°)
OKLaboklab(53.62% 0.1689 -0.0447)
OKLCHoklch(53.62% 0.175 345.2)
XYZxyz(23.2111, 13.5146, 23.2115)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3784 #37AF62
analogous
#9E37AF #AF3784 #AF3748
triadic
#AF3784 #84AF37 #3784AF
tetradic
#AF3784 #AF9E37 #37AF62 #3748AF
square
#AF3784 #AF9E37 #37AF62 #3748AF
split-complementary
#AF3784 #48AF37 #37AF9E
monochromatic
#521A3E #802861 #AF3784 #CB59A2 #D987BC

Accessibility & contrast

On white

5.67
#AF3784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF3784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3784
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3784#FFFFFF#000000##FFFFFF
##AF37841.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445A86
Deuteranopia (green-blind)
#686E81
Tritanopia (blue-blind)
#BB3558
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3784;
/* rgb */ color: rgb(175, 55, 132);
/* oklch */ color: oklch(53.6% 0.175 345.2);
Tailwind
colors: {
  custom: {
    50: '#cb77a8',
    500: '#af3784',
    950: '#000000',
  },
}
SCSS
$custom: #af3784;
$custom-light: #cb77a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3784",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 321.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.17473,
    "h": 345.2
  },
  "luminance": 0.13512
}

Semantic roles & 50–950 ramp

primary
#AF3784
secondary
#7FC397
accent
#DC804C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3784

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

Preview Lab → · Contrast checker → · Palette generator →

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