#AF2048#AF2048

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

Color values

HEX#AF2048
RGBrgb(175, 32, 72)
HSLhsl(343, 69%, 41%)
HSVhsv(343, 82%, 69%)
CMYKcmyk(0%, 81.7%, 58.9%, 31.4%)
CIE-LABlab(38.93, 57.46, 13.98)
CIE-LCHlch(38.93, 59.14, 13.68°)
OKLaboklab(49.63% 0.1738 0.0348)
OKLCHoklch(49.63% 0.177 11.3)
XYZxyz(19.3674, 10.6178, 7.1593)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2048 #20AF87
analogous
#AF208F #AF2048 #AF4020
triadic
#AF2048 #48AF20 #2048AF
tetradic
#AF2048 #8FAF20 #20AF87 #4020AF
square
#AF2048 #8FAF20 #20AF87 #4020AF
split-complementary
#AF2048 #20AF40 #208FAF
monochromatic
#480D1D #7B1733 #AF2048 #DA3361 #E36689

Accessibility & contrast

On white

6.72
#AF2048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2048
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2048#FFFFFF#000000##FFFFFF
##AF20481.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494949
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2048;
/* rgb */ color: rgb(175, 32, 72);
/* oklch */ color: oklch(49.6% 0.177 11.3);
Tailwind
colors: {
  custom: {
    50: '#ce6c7a',
    500: '#af2048',
    950: '#000000',
  },
}
SCSS
$custom: #af2048;
$custom-light: #ce6c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2048",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 343.217,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49625,
    "c": 0.17729,
    "h": 11.3
  },
  "luminance": 0.10615
}

Semantic roles & 50–950 ramp

primary
#AF2048
secondary
#62C8AC
accent
#ECBB3C
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AF2048

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

Preview Lab → · Contrast checker → · Palette generator →

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