#AF4586#AF4586

#AF4586 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.3% C 0.156 H 345.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF4586
RGBrgb(175, 69, 134)
HSLhsl(323, 43%, 48%)
HSVhsv(323, 61%, 69%)
CMYKcmyk(0%, 60.6%, 23.4%, 31.4%)
CIE-LABlab(45.76, 50.30, -14.65)
CIE-LCHlch(45.76, 52.39, 343.76°)
OKLaboklab(55.29% 0.1513 -0.0388)
OKLCHoklch(55.29% 0.156 345.6)
XYZxyz(24.1112, 15.0937, 24.1932)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4586 #45AF6E
analogous
#A345AF #AF4586 #AF4551
triadic
#AF4586 #86AF45 #4586AF
tetradic
#AF4586 #AFA345 #45AF6E #4551AF
square
#AF4586 #AFA345 #45AF6E #4551AF
split-complementary
#AF4586 #51AF45 #45AFA3
monochromatic
#572243 #833464 #AF4586 #C56CA3 #D698BE

Accessibility & contrast

On white

5.23
#AF4586 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF4586 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4586
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4586#FFFFFF#000000##FFFFFF
##AF45861.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6188
Deuteranopia (green-blind)
#6D7383
Tritanopia (blue-blind)
#BA445F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4586;
/* rgb */ color: rgb(175, 69, 134);
/* oklch */ color: oklch(55.3% 0.156 345.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ea9',
    500: '#af4586',
    950: '#000000',
  },
}
SCSS
$custom: #af4586;
$custom-light: #ca7ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4586",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 323.208,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.15617,
    "h": 345.6
  },
  "luminance": 0.15091
}

Semantic roles & 50–950 ramp

primary
#AF4586
secondary
#8DC2A2
accent
#D38655
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4586

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

Preview Lab → · Contrast checker → · Palette generator →

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