#AF458D#AF458D

#AF458D is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.6% C 0.161 H 342.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF458D
RGBrgb(175, 69, 141)
HSLhsl(319, 43%, 48%)
HSVhsv(319, 61%, 69%)
CMYKcmyk(0%, 60.6%, 19.4%, 31.4%)
CIE-LABlab(46.04, 51.31, -18.46)
CIE-LCHlch(46.04, 54.53, 340.21°)
OKLaboklab(55.58% 0.153 -0.0494)
OKLCHoklch(55.58% 0.161 342.1)
XYZxyz(24.6156, 15.2955, 26.8500)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF458D #45AF67
analogous
#9C45AF #AF458D #AF4558
triadic
#AF458D #8DAF45 #458DAF
tetradic
#AF458D #AF9C45 #45AF67 #4558AF
square
#AF458D #AF9C45 #45AF67 #4558AF
split-complementary
#AF458D #58AF45 #45AF9C
monochromatic
#572246 #83346A #AF458D #C56CA9 #D698C2

Accessibility & contrast

On white

5.17
#AF458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF458D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF458D#FFFFFF#000000##FFFFFF
##AF458D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628F
Deuteranopia (green-blind)
#6B738A
Tritanopia (blue-blind)
#B94663
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af458d;
/* rgb */ color: rgb(175, 69, 141);
/* oklch */ color: oklch(55.6% 0.161 342.1);
Tailwind
colors: {
  custom: {
    50: '#ca7fae',
    500: '#af458d',
    950: '#000000',
  },
}
SCSS
$custom: #af458d;
$custom-light: #ca7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#af458d",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 319.245,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55583,
    "c": 0.16075,
    "h": 342.1
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#AF458D
secondary
#8DC29E
accent
#D37D55
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF458D

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

Preview Lab → · Contrast checker → · Palette generator →

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