#AF5286#AF5286

#AF5286 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.0% C 0.136 H 347.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF5286
RGBrgb(175, 82, 134)
HSLhsl(326, 37%, 50%)
HSVhsv(326, 53%, 69%)
CMYKcmyk(0%, 53.1%, 23.4%, 31.4%)
CIE-LABlab(48.10, 44.08, -11.11)
CIE-LCHlch(48.10, 45.45, 345.85°)
OKLaboklab(57.03% 0.1324 -0.0292)
OKLCHoklch(57.03% 0.136 347.6)
XYZxyz(25.0003, 16.8719, 24.4895)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5286 #52AF7B
analogous
#AA52AF #AF5286 #AF5257
triadic
#AF5286 #86AF52 #5286AF
tetradic
#AF5286 #AFAA52 #52AF7B #5257AF
square
#AF5286 #AFAA52 #52AF7B #5257AF
split-complementary
#AF5286 #57AF52 #52AFAA
monochromatic
#5C2B46 #863E66 #AF5286 #C27CA3 #D6A6C1

Accessibility & contrast

On white

4.80
#AF5286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF5286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5286
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5286#FFFFFF#000000##FFFFFF
##AF52861.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6888
Deuteranopia (green-blind)
#747884
Tritanopia (blue-blind)
#BA5066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5286;
/* rgb */ color: rgb(175, 82, 134);
/* oklch */ color: oklch(57.0% 0.136 347.6);
Tailwind
colors: {
  custom: {
    50: '#c986a9',
    500: '#af5286',
    950: '#000000',
  },
}
SCSS
$custom: #af5286;
$custom-light: #c986a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af5286",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 326.452,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57026,
    "c": 0.13556,
    "h": 347.6
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#AF5286
secondary
#9AC3AC
accent
#CD8D5B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AF5286

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

Preview Lab → · Contrast checker → · Palette generator →

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