#AF457C#AF457C

#AF457C is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.9% C 0.150 H 350.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF457C
RGBrgb(175, 69, 124)
HSLhsl(329, 43%, 48%)
HSVhsv(329, 61%, 69%)
CMYKcmyk(0%, 60.6%, 29.1%, 31.4%)
CIE-LABlab(45.40, 48.94, -9.13)
CIE-LCHlch(45.40, 49.78, 349.43°)
OKLaboklab(54.9% 0.1485 -0.0237)
OKLCHoklch(54.9% 0.15 350.9)
XYZxyz(23.4464, 14.8278, 20.6921)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF457C #45AF78
analogous
#AD45AF #AF457C #AF4547
triadic
#AF457C #7CAF45 #457CAF
tetradic
#AF457C #AFAD45 #45AF78 #4547AF
square
#AF457C #AFAD45 #45AF78 #4547AF
split-complementary
#AF457C #47AF45 #45AFAD
monochromatic
#57223E #83345D #AF457C #C56C9A #D698B8

Accessibility & contrast

On white

5.30
#AF457C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AF457C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF457C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF457C#FFFFFF#000000##FFFFFF
##AF457C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607E
Deuteranopia (green-blind)
#707279
Tritanopia (blue-blind)
#BB405B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af457c;
/* rgb */ color: rgb(175, 69, 124);
/* oklch */ color: oklch(54.9% 0.150 350.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ea1',
    500: '#af457c',
    950: '#000000',
  },
}
SCSS
$custom: #af457c;
$custom-light: #ca7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#af457c",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 124
  },
  "hsl": {
    "h": 328.868,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54901,
    "c": 0.15039,
    "h": 350.9
  },
  "luminance": 0.14825
}

Semantic roles & 50–950 ramp

primary
#AF457C
secondary
#8DC2A7
accent
#D39255
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0F
muted
#827C7E

Preview Lab

Preview with #AF457C

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

Preview Lab → · Contrast checker → · Palette generator →

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