#AF3789#AF3789

#AF3789 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.178 H 342.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF3789
RGBrgb(175, 55, 137)
HSLhsl(319, 52%, 45%)
HSVhsv(319, 69%, 69%)
CMYKcmyk(0%, 68.6%, 21.7%, 31.4%)
CIE-LABlab(43.73, 56.62, -19.57)
CIE-LCHlch(43.73, 59.91, 340.93°)
OKLaboklab(53.84% 0.17 -0.0523)
OKLCHoklch(53.84% 0.178 342.9)
XYZxyz(23.5615, 13.6548, 25.0568)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3789 #37AF5D
analogous
#9937AF #AF3789 #AF374D
triadic
#AF3789 #89AF37 #3789AF
tetradic
#AF3789 #AF9937 #37AF5D #374DAF
square
#AF3789 #AF9937 #37AF5D #374DAF
split-complementary
#AF3789 #4DAF37 #37AF99
monochromatic
#521A40 #802865 #AF3789 #CB59A7 #D987BF

Accessibility & contrast

On white

5.63
#AF3789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AF3789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3789
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3789#FFFFFF#000000##FFFFFF
##AF37891.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8B
Deuteranopia (green-blind)
#666F86
Tritanopia (blue-blind)
#BA375B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3789;
/* rgb */ color: rgb(175, 55, 137);
/* oklch */ color: oklch(53.8% 0.178 342.9);
Tailwind
colors: {
  custom: {
    50: '#ca77ab',
    500: '#af3789',
    950: '#000000',
  },
}
SCSS
$custom: #af3789;
$custom-light: #ca77ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af3789",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 319,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.17784,
    "h": 342.9
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#AF3789
secondary
#7FC394
accent
#DC7A4C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3789

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

Preview Lab → · Contrast checker → · Palette generator →

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