#AF3071#AF3071

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

Color values

HEX#AF3071
RGBrgb(175, 48, 113)
HSLhsl(329, 57%, 44%)
HSVhsv(329, 73%, 69%)
CMYKcmyk(0%, 72.6%, 35.4%, 31.4%)
CIE-LABlab(41.88, 56.19, -7.63)
CIE-LCHlch(41.88, 56.71, 352.26°)
OKLaboklab(52.18% 0.1722 -0.0195)
OKLCHoklch(52.18% 0.173 353.5)
XYZxyz(21.7181, 12.4227, 16.8737)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3071 #30AF6E
analogous
#AD30AF #AF3071 #AF3031
triadic
#AF3071 #71AF30 #3071AF
tetradic
#AF3071 #AFAD30 #30AF6E #3031AF
square
#AF3071 #AFAD30 #30AF6E #3031AF
split-complementary
#AF3071 #31AF30 #30AFAD
monochromatic
#4F1633 #7F2352 #AF3071 #CE4E90 #DC7EAE

Accessibility & contrast

On white

6.03
#AF3071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3071
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3071#FFFFFF#000000##FFFFFF
##AF30711.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#6A6B6E
Tritanopia (blue-blind)
#BD254C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3071;
/* rgb */ color: rgb(175, 48, 113);
/* oklch */ color: oklch(52.2% 0.173 353.5);
Tailwind
colors: {
  custom: {
    50: '#cb7399',
    500: '#af3071',
    950: '#000000',
  },
}
SCSS
$custom: #af3071;
$custom-light: #cb7399;
$custom-dark: #000000;
JSON
{
  "hex": "#af3071",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 329.291,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.17327,
    "h": 353.5
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#AF3071
secondary
#76C49C
accent
#E09248
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3071

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

Preview Lab → · Contrast checker → · Palette generator →

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