#AF2E70#AF2E70

#AF2E70 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.175 H 353.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF2E70
RGBrgb(175, 46, 112)
HSLhsl(329, 58%, 43%)
HSVhsv(329, 74%, 69%)
CMYKcmyk(0%, 73.7%, 36%, 31.4%)
CIE-LABlab(41.60, 56.78, -7.44)
CIE-LCHlch(41.60, 57.27, 352.54°)
OKLaboklab(51.96% 0.1741 -0.019)
OKLCHoklch(51.96% 0.175 353.8)
XYZxyz(21.5822, 12.2404, 16.5522)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E70 #2EAF6D
analogous
#AD2EAF #AF2E70 #AF2E30
triadic
#AF2E70 #70AF2E #2E70AF
tetradic
#AF2E70 #AFAD2E #2EAF6D #2E30AF
square
#AF2E70 #AFAD2E #2EAF6D #2E30AF
split-complementary
#AF2E70 #30AF2E #2EAFAD
monochromatic
#4E1532 #7F2151 #AF2E70 #D04B8F #DC7BAD

Accessibility & contrast

On white

6.09
#AF2E70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF2E70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E70
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E70#FFFFFF#000000##FFFFFF
##AF2E701.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465372
Deuteranopia (green-blind)
#6A6B6D
Tritanopia (blue-blind)
#BD224B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2e70;
/* rgb */ color: rgb(175, 46, 112);
/* oklch */ color: oklch(52.0% 0.175 353.8);
Tailwind
colors: {
  custom: {
    50: '#cb7299',
    500: '#af2e70',
    950: '#000000',
  },
}
SCSS
$custom: #af2e70;
$custom-light: #cb7299;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e70",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 329.302,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51961,
    "c": 0.17512,
    "h": 353.8
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#AF2E70
secondary
#74C59B
accent
#E29246
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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