#AF294C#AF294C

#AF294C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.170 H 10.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AF294C
RGBrgb(175, 41, 76)
HSLhsl(344, 62%, 42%)
HSVhsv(344, 77%, 69%)
CMYKcmyk(0%, 76.6%, 56.6%, 31.4%)
CIE-LABlab(39.96, 55.10, 12.84)
CIE-LCHlch(39.96, 56.58, 13.12°)
OKLaboklab(50.41% 0.1669 0.0323)
OKLCHoklch(50.41% 0.17 10.9)
XYZxyz(19.7786, 11.2245, 7.9611)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF294C #29AF8C
analogous
#AF298F #AF294C #AF4929
triadic
#AF294C #4CAF29 #294CAF
tetradic
#AF294C #8FAF29 #29AF8C #4929AF
square
#AF294C #8FAF29 #29AF8C #4929AF
split-complementary
#AF294C #29AF49 #298FAF
monochromatic
#4C1221 #7D1D36 #AF294C #D34268 #DE7490

Accessibility & contrast

On white

6.47
#AF294C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF294C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF294C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF294C#FFFFFF#000000##FFFFFF
##AF294C1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4D
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af294c;
/* rgb */ color: rgb(175, 41, 76);
/* oklch */ color: oklch(50.4% 0.170 10.9);
Tailwind
colors: {
  custom: {
    50: '#cd6f7d',
    500: '#af294c',
    950: '#000000',
  },
}
SCSS
$custom: #af294c;
$custom-light: #cd6f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af294c",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 76
  },
  "hsl": {
    "h": 344.328,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.16996,
    "h": 10.9
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

primary
#AF294C
secondary
#6EC6AF
accent
#E5BB43
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF294C

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

Preview Lab → · Contrast checker → · Palette generator →

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