#AF294E#AF294E

#AF294E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.170 H 10.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF294E
RGBrgb(175, 41, 78)
HSLhsl(343, 62%, 42%)
HSVhsv(343, 77%, 69%)
CMYKcmyk(0%, 76.6%, 55.4%, 31.4%)
CIE-LABlab(40.00, 55.25, 11.64)
CIE-LCHlch(40.00, 56.47, 11.90°)
OKLaboklab(50.46% 0.1677 0.0295)
OKLCHoklch(50.46% 0.17 10)
XYZxyz(19.8492, 11.2527, 8.3330)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF294E #29AF8A
analogous
#AF2991 #AF294E #AF4729
triadic
#AF294E #4EAF29 #294EAF
tetradic
#AF294E #91AF29 #29AF8A #4729AF
square
#AF294E #91AF29 #29AF8A #4729AF
split-complementary
#AF294E #29AF47 #2991AF
monochromatic
#4C1222 #7D1D38 #AF294E #D3426A #DE7491

Accessibility & contrast

On white

6.46
#AF294E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF294E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF294E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF294E#FFFFFF#000000##FFFFFF
##AF294E1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D4F
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af294e;
/* rgb */ color: rgb(175, 41, 78);
/* oklch */ color: oklch(50.5% 0.170 10.0);
Tailwind
colors: {
  custom: {
    50: '#cd6f7f',
    500: '#af294e',
    950: '#000000',
  },
}
SCSS
$custom: #af294e;
$custom-light: #cd6f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#af294e",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 78
  },
  "hsl": {
    "h": 343.433,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50462,
    "c": 0.17023,
    "h": 10
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

primary
#AF294E
secondary
#6EC6AE
accent
#E5B843
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF294E

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

Preview Lab → · Contrast checker → · Palette generator →

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