#AF294D#AF294D

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

Color values

HEX#AF294D
RGBrgb(175, 41, 77)
HSLhsl(344, 62%, 42%)
HSVhsv(344, 77%, 69%)
CMYKcmyk(0%, 76.6%, 56%, 31.4%)
CIE-LABlab(39.98, 55.18, 12.24)
CIE-LCHlch(39.98, 56.52, 12.51°)
OKLaboklab(50.44% 0.1673 0.0309)
OKLCHoklch(50.44% 0.17 10.5)
XYZxyz(19.8136, 11.2385, 8.1457)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF294D #29AF8B
analogous
#AF2990 #AF294D #AF4829
triadic
#AF294D #4DAF29 #294DAF
tetradic
#AF294D #90AF29 #29AF8B #4829AF
square
#AF294D #90AF29 #29AF8B #4829AF
split-complementary
#AF294D #29AF48 #2990AF
monochromatic
#4C1221 #7D1D37 #AF294D #D34269 #DE7491

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF294D#FFFFFF#000000##FFFFFF
##AF294D1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af294d;
/* rgb */ color: rgb(175, 41, 77);
/* oklch */ color: oklch(50.4% 0.170 10.5);
Tailwind
colors: {
  custom: {
    50: '#cd6f7e',
    500: '#af294d',
    950: '#000000',
  },
}
SCSS
$custom: #af294d;
$custom-light: #cd6f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#af294d",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 343.881,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.17009,
    "h": 10.5
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#AF294D
secondary
#6EC6AE
accent
#E5B943
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF294D

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

Preview Lab → · Contrast checker → · Palette generator →

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