#AF458C#AF458C

#AF458C is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.5% C 0.160 H 342.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF458C
RGBrgb(175, 69, 140)
HSLhsl(320, 43%, 48%)
HSVhsv(320, 61%, 69%)
CMYKcmyk(0%, 60.6%, 20%, 31.4%)
CIE-LABlab(46.00, 51.16, -17.92)
CIE-LCHlch(46.00, 54.21, 340.70°)
OKLaboklab(55.54% 0.1528 -0.0478)
OKLCHoklch(55.54% 0.16 342.6)
XYZxyz(24.5416, 15.2658, 26.4599)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF458C #45AF68
analogous
#9D45AF #AF458C #AF4557
triadic
#AF458C #8CAF45 #458CAF
tetradic
#AF458C #AF9D45 #45AF68 #4557AF
square
#AF458C #AF9D45 #45AF68 #4557AF
split-complementary
#AF458C #57AF45 #45AF9D
monochromatic
#572246 #833469 #AF458C #C56CA8 #D698C2

Accessibility & contrast

On white

5.18
#AF458C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF458C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF458C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF458C#FFFFFF#000000##FFFFFF
##AF458C1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628E
Deuteranopia (green-blind)
#6C7389
Tritanopia (blue-blind)
#B94662
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af458c;
/* rgb */ color: rgb(175, 69, 140);
/* oklch */ color: oklch(55.5% 0.160 342.6);
Tailwind
colors: {
  custom: {
    50: '#ca7fad',
    500: '#af458c',
    950: '#000000',
  },
}
SCSS
$custom: #af458c;
$custom-light: #ca7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#af458c",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 319.811,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5554,
    "c": 0.16007,
    "h": 342.6
  },
  "luminance": 0.15264
}

Semantic roles & 50–950 ramp

primary
#AF458C
secondary
#8DC29F
accent
#D37E55
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF458C

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

Preview Lab → · Contrast checker → · Palette generator →

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