#AF3787#AF3787

#AF3787 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.177 H 343.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF3787
RGBrgb(175, 55, 135)
HSLhsl(320, 52%, 45%)
HSVhsv(320, 69%, 69%)
CMYKcmyk(0%, 68.6%, 22.9%, 31.4%)
CIE-LABlab(43.65, 56.35, -18.48)
CIE-LCHlch(43.65, 59.30, 341.84°)
OKLaboklab(53.75% 0.1696 -0.0493)
OKLCHoklch(53.75% 0.177 343.8)
XYZxyz(23.4194, 13.5979, 24.3083)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3787 #37AF5F
analogous
#9B37AF #AF3787 #AF374B
triadic
#AF3787 #87AF37 #3787AF
tetradic
#AF3787 #AF9B37 #37AF5F #374BAF
square
#AF3787 #AF9B37 #37AF5F #374BAF
split-complementary
#AF3787 #4BAF37 #37AF9B
monochromatic
#521A3F #802863 #AF3787 #CB59A5 #D987BE

Accessibility & contrast

On white

5.65
#AF3787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF3787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3787
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3787#FFFFFF#000000##FFFFFF
##AF37871.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A89
Deuteranopia (green-blind)
#676E84
Tritanopia (blue-blind)
#BA375A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3787;
/* rgb */ color: rgb(175, 55, 135);
/* oklch */ color: oklch(53.8% 0.177 343.8);
Tailwind
colors: {
  custom: {
    50: '#ca77aa',
    500: '#af3787',
    950: '#000000',
  },
}
SCSS
$custom: #af3787;
$custom-light: #ca77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3787",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 320,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53752,
    "c": 0.17657,
    "h": 343.8
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#AF3787
secondary
#7FC395
accent
#DC7C4C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3787

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

Preview Lab → · Contrast checker → · Palette generator →

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