#AF458A#AF458A

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

Color values

HEX#AF458A
RGBrgb(175, 69, 138)
HSLhsl(321, 43%, 48%)
HSVhsv(321, 61%, 69%)
CMYKcmyk(0%, 60.6%, 21.1%, 31.4%)
CIE-LABlab(45.92, 50.87, -16.83)
CIE-LCHlch(45.92, 53.58, 341.69°)
OKLaboklab(55.46% 0.1523 -0.0448)
OKLCHoklch(55.46% 0.159 343.6)
XYZxyz(24.3955, 15.2074, 25.6903)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF458A #45AF6A
analogous
#9F45AF #AF458A #AF4555
triadic
#AF458A #8AAF45 #458AAF
tetradic
#AF458A #AF9F45 #45AF6A #4555AF
square
#AF458A #AF9F45 #45AF6A #4555AF
split-complementary
#AF458A #55AF45 #45AF9F
monochromatic
#572245 #833467 #AF458A #C56CA6 #D698C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF458A#FFFFFF#000000##FFFFFF
##AF458A1.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)
#4E628C
Deuteranopia (green-blind)
#6C7387
Tritanopia (blue-blind)
#BA4561
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af458a;
/* rgb */ color: rgb(175, 69, 138);
/* oklch */ color: oklch(55.5% 0.159 343.6);
Tailwind
colors: {
  custom: {
    50: '#ca7fac',
    500: '#af458a',
    950: '#000000',
  },
}
SCSS
$custom: #af458a;
$custom-light: #ca7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#af458a",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 320.943,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55456,
    "c": 0.15874,
    "h": 343.6
  },
  "luminance": 0.15205
}

Semantic roles & 50–950 ramp

primary
#AF458A
secondary
#8DC2A0
accent
#D38155
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF458A

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

Preview Lab → · Contrast checker → · Palette generator →

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