#AF3070#AF3070

#AF3070 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.173 H 354.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF3070
RGBrgb(175, 48, 112)
HSLhsl(330, 57%, 44%)
HSVhsv(330, 73%, 69%)
CMYKcmyk(0%, 72.6%, 36%, 31.4%)
CIE-LABlab(41.85, 56.08, -7.06)
CIE-LCHlch(41.85, 56.52, 352.82°)
OKLaboklab(52.14% 0.1719 -0.018)
OKLCHoklch(52.14% 0.173 354)
XYZxyz(21.6621, 12.4003, 16.5788)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3070 #30AF6F
analogous
#AE30AF #AF3070 #AF3030
triadic
#AF3070 #70AF30 #3070AF
tetradic
#AF3070 #AFAE30 #30AF6F #3030AF
square
#AF3070 #AFAE30 #30AF6F #3030AF
split-complementary
#AF3070 #30AF30 #30AFAE
monochromatic
#4F1633 #7F2351 #AF3070 #CE4E8F #DC7EAD

Accessibility & contrast

On white

6.04
#AF3070 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AF3070 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3070
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3070#FFFFFF#000000##FFFFFF
##AF30701.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475472
Deuteranopia (green-blind)
#6B6B6D
Tritanopia (blue-blind)
#BD244C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3070;
/* rgb */ color: rgb(175, 48, 112);
/* oklch */ color: oklch(52.1% 0.173 354.0);
Tailwind
colors: {
  custom: {
    50: '#cb7399',
    500: '#af3070',
    950: '#000000',
  },
}
SCSS
$custom: #af3070;
$custom-light: #cb7399;
$custom-dark: #000000;
JSON
{
  "hex": "#af3070",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 112
  },
  "hsl": {
    "h": 329.764,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.17282,
    "h": 354
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#AF3070
secondary
#76C49D
accent
#E09348
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF3070

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

Preview Lab → · Contrast checker → · Palette generator →

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