#AF4295#AF4295

#AF4295 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.6% C 0.171 H 338.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF4295
RGBrgb(175, 66, 149)
HSLhsl(314, 45%, 47%)
HSVhsv(314, 62%, 69%)
CMYKcmyk(0%, 62.3%, 14.9%, 31.4%)
CIE-LABlab(45.88, 53.85, -23.50)
CIE-LCHlch(45.88, 58.75, 336.42°)
OKLaboklab(55.58% 0.1586 -0.0635)
OKLCHoklch(55.58% 0.171 338.2)
XYZxyz(25.0526, 15.1824, 30.0390)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4295 #42AF5C
analogous
#9342AF #AF4295 #AF425F
triadic
#AF4295 #95AF42 #4295AF
tetradic
#AF4295 #AF9342 #42AF5C #425FAF
square
#AF4295 #AF9342 #42AF5C #425FAF
split-complementary
#AF4295 #5FAF42 #42AF93
monochromatic
#562049 #83316F #AF4295 #C668B0 #D795C7

Accessibility & contrast

On white

5.20
#AF4295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF4295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4295
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4295#FFFFFF#000000##FFFFFF
##AF42951.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4295;
/* rgb */ color: rgb(175, 66, 149);
/* oklch */ color: oklch(55.6% 0.171 338.2);
Tailwind
colors: {
  custom: {
    50: '#ca7db4',
    500: '#af4295',
    950: '#000000',
  },
}
SCSS
$custom: #af4295;
$custom-light: #ca7db4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4295",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 314.312,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5558,
    "c": 0.17085,
    "h": 338.2
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4295

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

Preview Lab → · Contrast checker → · Palette generator →

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