#AF294B#AF294B

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

Color values

HEX#AF294B
RGBrgb(175, 41, 75)
HSLhsl(345, 62%, 42%)
HSVhsv(345, 77%, 69%)
CMYKcmyk(0%, 76.6%, 57.1%, 31.4%)
CIE-LABlab(39.93, 55.03, 13.45)
CIE-LCHlch(39.93, 56.65, 13.73°)
OKLaboklab(50.39% 0.1665 0.0337)
OKLCHoklch(50.39% 0.17 11.4)
XYZxyz(19.7441, 11.2107, 7.7795)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF294B #29AF8D
analogous
#AF298E #AF294B #AF4A29
triadic
#AF294B #4BAF29 #294BAF
tetradic
#AF294B #8EAF29 #29AF8D #4A29AF
square
#AF294B #8EAF29 #29AF8D #4A29AF
split-complementary
#AF294B #29AF4A #298EAF
monochromatic
#4C1221 #7D1D36 #AF294B #D34267 #DE748F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF294B#FFFFFF#000000##FFFFFF
##AF294B1.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)
#4D4D4B
Deuteranopia (green-blind)
#706848
Tritanopia (blue-blind)
#BF0037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af294b;
/* rgb */ color: rgb(175, 41, 75);
/* oklch */ color: oklch(50.4% 0.170 11.4);
Tailwind
colors: {
  custom: {
    50: '#cd6f7d',
    500: '#af294b',
    950: '#000000',
  },
}
SCSS
$custom: #af294b;
$custom-light: #cd6f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af294b",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 344.776,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.16985,
    "h": 11.4
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#AF294B
secondary
#6EC6B0
accent
#E5BC43
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF294B

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

Preview Lab → · Contrast checker → · Palette generator →

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