#AF568D#AF568D

#AF568D is a mid, vivid pink. Relative luminance 0.177; OKLCH L 57.9% C 0.133 H 344.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF568D
RGBrgb(175, 86, 141)
HSLhsl(323, 36%, 51%)
HSVhsv(323, 51%, 69%)
CMYKcmyk(0%, 50.9%, 19.4%, 31.4%)
CIE-LABlab(49.12, 43.10, -13.76)
CIE-LCHlch(49.12, 45.24, 342.30°)
OKLaboklab(57.87% 0.1283 -0.0365)
OKLCHoklch(57.87% 0.133 344.1)
XYZxyz(25.8152, 17.6946, 27.2499)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF568D #56AF78
analogous
#A456AF #AF568D #AF5660
triadic
#AF568D #8DAF56 #568DAF
tetradic
#AF568D #AFA456 #56AF78 #5660AF
square
#AF568D #AFA456 #56AF78 #5660AF
split-complementary
#AF568D #60AF56 #56AFA4
monochromatic
#5E2D4B #88406C #AF568D #C380A9 #D6A9C5

Accessibility & contrast

On white

4.63
#AF568D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AF568D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF568D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF568D#FFFFFF#000000##FFFFFF
##AF568D1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8F
Deuteranopia (green-blind)
#757A8B
Tritanopia (blue-blind)
#B9566B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af568d;
/* rgb */ color: rgb(175, 86, 141);
/* oklch */ color: oklch(57.9% 0.133 344.1);
Tailwind
colors: {
  custom: {
    50: '#c989ae',
    500: '#af568d',
    950: '#000000',
  },
}
SCSS
$custom: #af568d;
$custom-light: #c989ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af568d",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 141
  },
  "hsl": {
    "h": 322.921,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57874,
    "c": 0.13339,
    "h": 344.1
  },
  "luminance": 0.17693
}

Semantic roles & 50–950 ramp

primary
#AF568D
secondary
#9DC4AC
accent
#CC875C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF568D

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

Preview Lab → · Contrast checker → · Palette generator →

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