#AF294F#AF294F

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

Color values

HEX#AF294F
RGBrgb(175, 41, 79)
HSLhsl(343, 62%, 42%)
HSVhsv(343, 77%, 69%)
CMYKcmyk(0%, 76.6%, 54.9%, 31.4%)
CIE-LABlab(40.03, 55.33, 11.04)
CIE-LCHlch(40.03, 56.42, 11.29°)
OKLaboklab(50.49% 0.1681 0.028)
OKLCHoklch(50.49% 0.17 9.5)
XYZxyz(19.8853, 11.2672, 8.5233)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF294F #29AF89
analogous
#AF2992 #AF294F #AF4629
triadic
#AF294F #4FAF29 #294FAF
tetradic
#AF294F #92AF29 #29AF89 #4629AF
square
#AF294F #92AF29 #29AF89 #4629AF
split-complementary
#AF294F #29AF46 #2992AF
monochromatic
#4C1222 #7D1D39 #AF294F #D3426B #DE7492

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF294F#FFFFFF#000000##FFFFFF
##AF294F1.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)
#4C4D50
Deuteranopia (green-blind)
#6F684C
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af294f;
/* rgb */ color: rgb(175, 41, 79);
/* oklch */ color: oklch(50.5% 0.170 9.5);
Tailwind
colors: {
  custom: {
    50: '#cd6f80',
    500: '#af294f',
    950: '#000000',
  },
}
SCSS
$custom: #af294f;
$custom-light: #cd6f80;
$custom-dark: #000000;
JSON
{
  "hex": "#af294f",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 342.985,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50488,
    "c": 0.17037,
    "h": 9.5
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#AF294F
secondary
#6EC6AD
accent
#E5B743
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF294F

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

Preview Lab → · Contrast checker → · Palette generator →

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