#AF2570#AF2570

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

Color values

HEX#AF2570
RGBrgb(175, 37, 112)
HSLhsl(327, 65%, 42%)
HSVhsv(327, 79%, 69%)
CMYKcmyk(0%, 78.9%, 36%, 31.4%)
CIE-LABlab(40.59, 59.63, -8.95)
CIE-LCHlch(40.59, 60.30, 351.47°)
OKLaboklab(51.23% 0.1831 -0.023)
OKLCHoklch(51.23% 0.185 352.8)
XYZxyz(21.2668, 11.6096, 16.4471)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2570 #25AF64
analogous
#A925AF #AF2570 #AF252B
triadic
#AF2570 #70AF25 #2570AF
tetradic
#AF2570 #AFA925 #25AF64 #252BAF
square
#AF2570 #AFA925 #25AF64 #252BAF
split-complementary
#AF2570 #2BAF25 #25AFA9
monochromatic
#4A102F #7C1A50 #AF2570 #D63C8F #E06EAC

Accessibility & contrast

On white

6.32
#AF2570 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF2570 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2570
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2570#FFFFFF#000000##FFFFFF
##AF25701.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405072
Deuteranopia (green-blind)
#67696D
Tritanopia (blue-blind)
#BD1548
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2570;
/* rgb */ color: rgb(175, 37, 112);
/* oklch */ color: oklch(51.2% 0.185 352.8);
Tailwind
colors: {
  custom: {
    50: '#cc6f99',
    500: '#af2570',
    950: '#000000',
  },
}
SCSS
$custom: #af2570;
$custom-light: #cc6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#af2570",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 112
  },
  "hsl": {
    "h": 327.391,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.18455,
    "h": 352.8
  },
  "luminance": 0.11607
}

Semantic roles & 50–950 ramp

primary
#AF2570
secondary
#69C794
accent
#E88D40
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2570

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

Preview Lab → · Contrast checker → · Palette generator →

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