#AF3470#AF3470

#AF3470 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.168 H 354.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AF3470
RGBrgb(175, 52, 112)
HSLhsl(331, 54%, 45%)
HSVhsv(331, 70%, 69%)
CMYKcmyk(0%, 70.3%, 36%, 31.4%)
CIE-LABlab(42.37, 54.61, -6.28)
CIE-LCHlch(42.37, 54.97, 353.44°)
OKLaboklab(52.53% 0.1672 -0.0159)
OKLCHoklch(52.53% 0.168 354.6)
XYZxyz(21.8331, 12.7424, 16.6358)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3470 #34AF73
analogous
#AF34AE #AF3470 #AF3634
triadic
#AF3470 #70AF34 #3470AF
tetradic
#AF3470 #AEAF34 #34AF73 #3634AF
square
#AF3470 #AEAF34 #34AF73 #3634AF
split-complementary
#AF3470 #34AF36 #34AEAF
monochromatic
#511834 #802652 #AF3470 #CC548F #DA83AE

Accessibility & contrast

On white

5.92
#AF3470 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF3470 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3470
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3470#FFFFFF#000000##FFFFFF
##AF34701.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#6C6C6D
Tritanopia (blue-blind)
#BD294D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3470;
/* rgb */ color: rgb(175, 52, 112);
/* oklch */ color: oklch(52.5% 0.168 354.6);
Tailwind
colors: {
  custom: {
    50: '#cb7599',
    500: '#af3470',
    950: '#000000',
  },
}
SCSS
$custom: #af3470;
$custom-light: #cb7599;
$custom-dark: #000000;
JSON
{
  "hex": "#af3470",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 112
  },
  "hsl": {
    "h": 330.732,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.16799,
    "h": 354.6
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#AF3470
secondary
#7BC4A0
accent
#DE964A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF3470

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

Preview Lab → · Contrast checker → · Palette generator →

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