#AF5070#AF5070

#AF5070 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.0% C 0.128 H 0.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF5070
RGBrgb(175, 80, 112)
HSLhsl(340, 37%, 50%)
HSVhsv(340, 54%, 69%)
CMYKcmyk(0%, 54.3%, 36%, 31.4%)
CIE-LABlab(47.01, 42.13, 0.55)
CIE-LCHlch(47.01, 42.13, 0.75°)
OKLaboklab(55.97% 0.1282 0.002)
OKLCHoklch(55.97% 0.128 0.9)
XYZxyz(23.4737, 16.0235, 17.1827)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5070 #50AF8F
analogous
#AF50A0 #AF5070 #AF5F50
triadic
#AF5070 #70AF50 #5070AF
tetradic
#AF5070 #A0AF50 #50AF8F #5F50AF
square
#AF5070 #A0AF50 #50AF8F #5F50AF
split-complementary
#AF5070 #50AF5F #50A0AF
monochromatic
#5B2A3A #853D55 #AF5070 #C27A92 #D5A4B5

Accessibility & contrast

On white

5.00
#AF5070 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AF5070 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5070
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5070#FFFFFF#000000##FFFFFF
##AF50701.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606471
Deuteranopia (green-blind)
#79766E
Tritanopia (blue-blind)
#BC485C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af5070;
/* rgb */ color: rgb(175, 80, 112);
/* oklch */ color: oklch(56.0% 0.128 0.9);
Tailwind
colors: {
  custom: {
    50: '#ca8499',
    500: '#af5070',
    950: '#000000',
  },
}
SCSS
$custom: #af5070;
$custom-light: #ca8499;
$custom-dark: #000000;
JSON
{
  "hex": "#af5070",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 112
  },
  "hsl": {
    "h": 339.789,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.55974,
    "c": 0.12822,
    "h": 0.9
  },
  "luminance": 0.16021
}

Semantic roles & 50–950 ramp

primary
#AF5070
secondary
#98C3B4
accent
#CDA75B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF5070

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

Preview Lab → · Contrast checker → · Palette generator →

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