#AF457D#AF457D

#AF457D is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.9% C 0.151 H 350.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF457D
RGBrgb(175, 69, 125)
HSLhsl(328, 43%, 48%)
HSVhsv(328, 61%, 69%)
CMYKcmyk(0%, 60.6%, 28.6%, 31.4%)
CIE-LABlab(45.43, 49.07, -9.68)
CIE-LCHlch(45.43, 50.02, 348.83°)
OKLaboklab(54.94% 0.1488 -0.0252)
OKLCHoklch(54.94% 0.151 350.4)
XYZxyz(23.5100, 14.8532, 21.0269)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF457D #45AF77
analogous
#AC45AF #AF457D #AF4548
triadic
#AF457D #7DAF45 #457DAF
tetradic
#AF457D #AFAC45 #45AF77 #4548AF
square
#AF457D #AFAC45 #45AF77 #4548AF
split-complementary
#AF457D #48AF45 #45AFAC
monochromatic
#57223E #83345E #AF457D #C56C9B #D698B9

Accessibility & contrast

On white

5.29
#AF457D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF457D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF457D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF457D#FFFFFF#000000##FFFFFF
##AF457D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607F
Deuteranopia (green-blind)
#70727A
Tritanopia (blue-blind)
#BB405B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af457d;
/* rgb */ color: rgb(175, 69, 125);
/* oklch */ color: oklch(54.9% 0.151 350.4);
Tailwind
colors: {
  custom: {
    50: '#ca7ea2',
    500: '#af457d',
    950: '#000000',
  },
}
SCSS
$custom: #af457d;
$custom-light: #ca7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#af457d",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 328.302,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54939,
    "c": 0.15092,
    "h": 350.4
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#AF457D
secondary
#8DC2A6
accent
#D39055
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF457D

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

Preview Lab → · Contrast checker → · Palette generator →

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