#AF2047#AF2047

#AF2047 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.177 H 11.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AF2047
RGBrgb(175, 32, 71)
HSLhsl(344, 69%, 41%)
HSVhsv(344, 82%, 69%)
CMYKcmyk(0%, 81.7%, 59.4%, 31.4%)
CIE-LABlab(38.91, 57.39, 14.59)
CIE-LCHlch(38.91, 59.22, 14.26°)
OKLaboklab(49.6% 0.1734 0.0362)
OKLCHoklch(49.6% 0.177 11.8)
XYZxyz(19.3350, 10.6048, 6.9889)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2047 #20AF88
analogous
#AF208E #AF2047 #AF4020
triadic
#AF2047 #47AF20 #2047AF
tetradic
#AF2047 #8EAF20 #20AF88 #4020AF
square
#AF2047 #8EAF20 #20AF88 #4020AF
split-complementary
#AF2047 #20AF40 #208EAF
monochromatic
#480D1D #7B1732 #AF2047 #DA3360 #E36688

Accessibility & contrast

On white

6.73
#AF2047 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AF2047 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2047
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2047#FFFFFF#000000##FFFFFF
##AF20471.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4948
Deuteranopia (green-blind)
#6E6643
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2047;
/* rgb */ color: rgb(175, 32, 71);
/* oklch */ color: oklch(49.6% 0.177 11.8);
Tailwind
colors: {
  custom: {
    50: '#ce6c79',
    500: '#af2047',
    950: '#000000',
  },
}
SCSS
$custom: #af2047;
$custom-light: #ce6c79;
$custom-dark: #000000;
JSON
{
  "hex": "#af2047",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 343.636,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.17717,
    "h": 11.8
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#AF2047
secondary
#62C8AD
accent
#ECBC3C
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AF2047

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

Preview Lab → · Contrast checker → · Palette generator →

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