#AF3788#AF3788

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

Color values

HEX#AF3788
RGBrgb(175, 55, 136)
HSLhsl(320, 52%, 45%)
HSVhsv(320, 69%, 69%)
CMYKcmyk(0%, 68.6%, 22.3%, 31.4%)
CIE-LABlab(43.69, 56.48, -19.03)
CIE-LCHlch(43.69, 59.60, 341.38°)
OKLaboklab(53.8% 0.1698 -0.0508)
OKLCHoklch(53.8% 0.177 343.3)
XYZxyz(23.4901, 13.6262, 24.6808)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3788 #37AF5E
analogous
#9A37AF #AF3788 #AF374C
triadic
#AF3788 #88AF37 #3788AF
tetradic
#AF3788 #AF9A37 #37AF5E #374CAF
square
#AF3788 #AF9A37 #37AF5E #374CAF
split-complementary
#AF3788 #4CAF37 #37AF9A
monochromatic
#521A40 #802864 #AF3788 #CB59A6 #D987BF

Accessibility & contrast

On white

5.64
#AF3788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3788
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3788#FFFFFF#000000##FFFFFF
##AF37881.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8A
Deuteranopia (green-blind)
#666E85
Tritanopia (blue-blind)
#BA375A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3788;
/* rgb */ color: rgb(175, 55, 136);
/* oklch */ color: oklch(53.8% 0.177 343.3);
Tailwind
colors: {
  custom: {
    50: '#ca77ab',
    500: '#af3788',
    950: '#000000',
  },
}
SCSS
$custom: #af3788;
$custom-light: #ca77ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af3788",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 319.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53796,
    "c": 0.1772,
    "h": 343.3
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3788

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

Preview Lab → · Contrast checker → · Palette generator →

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