#AF2470#AF2470

#AF2470 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.185 H 352.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF2470
RGBrgb(175, 36, 112)
HSLhsl(327, 66%, 41%)
HSVhsv(327, 79%, 69%)
CMYKcmyk(0%, 79.4%, 36%, 31.4%)
CIE-LABlab(40.49, 59.91, -9.10)
CIE-LCHlch(40.49, 60.60, 351.37°)
OKLaboklab(51.15% 0.184 -0.0234)
OKLCHoklch(51.15% 0.185 352.8)
XYZxyz(21.2361, 11.5482, 16.4368)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2470 #24AF63
analogous
#A924AF #AF2470 #AF242B
triadic
#AF2470 #70AF24 #2470AF
tetradic
#AF2470 #AFA924 #24AF63 #242BAF
square
#AF2470 #AFA924 #24AF63 #242BAF
split-complementary
#AF2470 #2BAF24 #24AFA9
monochromatic
#490F2F #7C1A50 #AF2470 #D63A8F #E16DAC

Accessibility & contrast

On white

6.35
#AF2470 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF2470 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2470
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2470#FFFFFF#000000##FFFFFF
##AF24701.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F72
Deuteranopia (green-blind)
#67686D
Tritanopia (blue-blind)
#BD1347
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2470;
/* rgb */ color: rgb(175, 36, 112);
/* oklch */ color: oklch(51.2% 0.185 352.8);
Tailwind
colors: {
  custom: {
    50: '#cc6e99',
    500: '#af2470',
    950: '#000000',
  },
}
SCSS
$custom: #af2470;
$custom-light: #cc6e99;
$custom-dark: #000000;
JSON
{
  "hex": "#af2470",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 112
  },
  "hsl": {
    "h": 327.194,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.18549,
    "h": 352.8
  },
  "luminance": 0.11546
}

Semantic roles & 50–950 ramp

primary
#AF2470
secondary
#68C793
accent
#E98C3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2470

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

Preview Lab → · Contrast checker → · Palette generator →

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