#AF3782#AF3782

#AF3782 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.5% C 0.174 H 346.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AF3782
RGBrgb(175, 55, 130)
HSLhsl(323, 52%, 45%)
HSVhsv(323, 69%, 69%)
CMYKcmyk(0%, 68.6%, 25.7%, 31.4%)
CIE-LABlab(43.45, 55.67, -15.74)
CIE-LCHlch(43.45, 57.86, 344.21°)
OKLaboklab(53.54% 0.1685 -0.0417)
OKLCHoklch(53.54% 0.174 346.1)
XYZxyz(23.0756, 13.4604, 22.4976)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3782 #37AF64
analogous
#A037AF #AF3782 #AF3746
triadic
#AF3782 #82AF37 #3782AF
tetradic
#AF3782 #AFA037 #37AF64 #3746AF
square
#AF3782 #AFA037 #37AF64 #3746AF
split-complementary
#AF3782 #46AF37 #37AFA0
monochromatic
#521A3D #80285F #AF3782 #CB59A0 #D987BA

Accessibility & contrast

On white

5.69
#AF3782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF3782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3782
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3782#FFFFFF#000000##FFFFFF
##AF37821.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A84
Deuteranopia (green-blind)
#686E7F
Tritanopia (blue-blind)
#BB3457
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3782;
/* rgb */ color: rgb(175, 55, 130);
/* oklch */ color: oklch(53.5% 0.174 346.1);
Tailwind
colors: {
  custom: {
    50: '#cb77a6',
    500: '#af3782',
    950: '#000000',
  },
}
SCSS
$custom: #af3782;
$custom-light: #cb77a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3782",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 130
  },
  "hsl": {
    "h": 322.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.17353,
    "h": 346.1
  },
  "luminance": 0.13458
}

Semantic roles & 50–950 ramp

primary
#AF3782
secondary
#7FC398
accent
#DC824C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3782

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

Preview Lab → · Contrast checker → · Palette generator →

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