#AF4294#AF4294

#AF4294 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.5% C 0.170 H 338.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AF4294
RGBrgb(175, 66, 148)
HSLhsl(315, 45%, 47%)
HSVhsv(315, 62%, 69%)
CMYKcmyk(0%, 62.3%, 15.4%, 31.4%)
CIE-LABlab(45.84, 53.69, -22.97)
CIE-LCHlch(45.84, 58.40, 336.84°)
OKLaboklab(55.53% 0.1584 -0.062)
OKLCHoklch(55.53% 0.17 338.6)
XYZxyz(24.9731, 15.1506, 29.6203)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4294 #42AF5D
analogous
#9342AF #AF4294 #AF425E
triadic
#AF4294 #94AF42 #4294AF
tetradic
#AF4294 #AF9342 #42AF5D #425EAF
square
#AF4294 #AF9342 #42AF5D #425EAF
split-complementary
#AF4294 #5EAF42 #42AF93
monochromatic
#562049 #83316E #AF4294 #C668AF #D795C6

Accessibility & contrast

On white

5.21
#AF4294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF4294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4294
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4294#FFFFFF#000000##FFFFFF
##AF42941.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466297
Deuteranopia (green-blind)
#677391
Tritanopia (blue-blind)
#B84665
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4294;
/* rgb */ color: rgb(175, 66, 148);
/* oklch */ color: oklch(55.5% 0.170 338.6);
Tailwind
colors: {
  custom: {
    50: '#ca7db3',
    500: '#af4294',
    950: '#000000',
  },
}
SCSS
$custom: #af4294;
$custom-light: #ca7db3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4294",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 314.862,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55534,
    "c": 0.17012,
    "h": 338.6
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#AF4294
secondary
#8AC298
accent
#D57353
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4294

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

Preview Lab → · Contrast checker → · Palette generator →

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