#AF294A#AF294A

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

Color values

HEX#AF294A
RGBrgb(175, 41, 74)
HSLhsl(345, 62%, 42%)
HSVhsv(345, 77%, 69%)
CMYKcmyk(0%, 76.6%, 57.7%, 31.4%)
CIE-LABlab(39.91, 54.96, 14.05)
CIE-LCHlch(39.91, 56.72, 14.34°)
OKLaboklab(50.36% 0.1661 0.0351)
OKLCHoklch(50.36% 0.17 11.9)
XYZxyz(19.7101, 11.1971, 7.6006)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF294A #29AF8E
analogous
#AF298D #AF294A #AF4B29
triadic
#AF294A #4AAF29 #294AAF
tetradic
#AF294A #8DAF29 #29AF8E #4B29AF
square
#AF294A #8DAF29 #29AF8E #4B29AF
split-complementary
#AF294A #29AF4B #298DAF
monochromatic
#4C1220 #7D1D35 #AF294A #D34266 #DE748E

Accessibility & contrast

On white

6.48
#AF294A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF294A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF294A#FFFFFF#000000##FFFFFF
##AF294A1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4A
Deuteranopia (green-blind)
#706847
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af294a;
/* rgb */ color: rgb(175, 41, 74);
/* oklch */ color: oklch(50.4% 0.170 11.9);
Tailwind
colors: {
  custom: {
    50: '#ce6f7c',
    500: '#af294a',
    950: '#000000',
  },
}
SCSS
$custom: #af294a;
$custom-light: #ce6f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#af294a",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 74
  },
  "hsl": {
    "h": 345.224,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50364,
    "c": 0.16975,
    "h": 11.9
  },
  "luminance": 0.11194
}

Semantic roles & 50–950 ramp

primary
#AF294A
secondary
#6EC6B0
accent
#E5BD43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF294A

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

Preview Lab → · Contrast checker → · Palette generator →

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