#AF2046#AF2046

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

Color values

HEX#AF2046
RGBrgb(175, 32, 70)
HSLhsl(344, 69%, 41%)
HSVhsv(344, 82%, 69%)
CMYKcmyk(0%, 81.7%, 60%, 31.4%)
CIE-LABlab(38.88, 57.33, 15.20)
CIE-LCHlch(38.88, 59.31, 14.85°)
OKLaboklab(49.58% 0.1731 0.0376)
OKLCHoklch(49.58% 0.177 12.2)
XYZxyz(19.3032, 10.5921, 6.8212)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2046 #20AF89
analogous
#AF208D #AF2046 #AF4120
triadic
#AF2046 #46AF20 #2046AF
tetradic
#AF2046 #8DAF20 #20AF89 #4120AF
square
#AF2046 #8DAF20 #20AF89 #4120AF
split-complementary
#AF2046 #20AF41 #208DAF
monochromatic
#480D1D #7B1731 #AF2046 #DA335F #E36687

Accessibility & contrast

On white

6.74
#AF2046 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2046
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2046#FFFFFF#000000##FFFFFF
##AF20461.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2046;
/* rgb */ color: rgb(175, 32, 70);
/* oklch */ color: oklch(49.6% 0.177 12.2);
Tailwind
colors: {
  custom: {
    50: '#ce6c79',
    500: '#af2046',
    950: '#000000',
  },
}
SCSS
$custom: #af2046;
$custom-light: #ce6c79;
$custom-dark: #000000;
JSON
{
  "hex": "#af2046",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 344.056,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49578,
    "c": 0.17708,
    "h": 12.2
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2046

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

Preview Lab → · Contrast checker → · Palette generator →

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