#AF4070#AF4070

#AF4070 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.9% C 0.152 H 356.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF4070
RGBrgb(175, 64, 112)
HSLhsl(334, 46%, 47%)
HSVhsv(334, 63%, 69%)
CMYKcmyk(0%, 63.4%, 36%, 31.4%)
CIE-LABlab(44.17, 49.69, -3.62)
CIE-LCHlch(44.17, 49.82, 355.84°)
OKLaboklab(53.86% 0.1518 -0.0089)
OKLCHoklch(53.86% 0.152 356.7)
XYZxyz(22.4385, 13.9531, 16.8376)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4070 #40AF7F
analogous
#AF40A8 #AF4070 #AF4740
triadic
#AF4070 #70AF40 #4070AF
tetradic
#AF4070 #A8AF40 #40AF7F #4740AF
square
#AF4070 #A8AF40 #40AF7F #4740AF
split-complementary
#AF4070 #40AF47 #40A8AF
monochromatic
#551F37 #823053 #AF4070 #C76590 #D792B0

Accessibility & contrast

On white

5.54
#AF4070 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF4070 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4070
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4070#FFFFFF#000000##FFFFFF
##AF40701.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535B71
Deuteranopia (green-blind)
#71706D
Tritanopia (blue-blind)
#BC3753
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4070;
/* rgb */ color: rgb(175, 64, 112);
/* oklch */ color: oklch(53.9% 0.152 356.7);
Tailwind
colors: {
  custom: {
    50: '#cb7b99',
    500: '#af4070',
    950: '#000000',
  },
}
SCSS
$custom: #af4070;
$custom-light: #cb7b99;
$custom-dark: #000000;
JSON
{
  "hex": "#af4070",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 112
  },
  "hsl": {
    "h": 334.054,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53856,
    "c": 0.15201,
    "h": 356.7
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#AF4070
secondary
#88C3A9
accent
#D69D52
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF4070

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

Preview Lab → · Contrast checker → · Palette generator →

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