#AF458B#AF458B

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

Color values

HEX#AF458B
RGBrgb(175, 69, 139)
HSLhsl(320, 43%, 48%)
HSVhsv(320, 61%, 69%)
CMYKcmyk(0%, 60.6%, 20.6%, 31.4%)
CIE-LABlab(45.96, 51.02, -17.38)
CIE-LCHlch(45.96, 53.90, 341.19°)
OKLaboklab(55.5% 0.1525 -0.0463)
OKLCHoklch(55.5% 0.159 343.1)
XYZxyz(24.4682, 15.2365, 26.0734)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF458B #45AF69
analogous
#9E45AF #AF458B #AF4556
triadic
#AF458B #8BAF45 #458BAF
tetradic
#AF458B #AF9E45 #45AF69 #4556AF
square
#AF458B #AF9E45 #45AF69 #4556AF
split-complementary
#AF458B #56AF45 #45AF9E
monochromatic
#572245 #833468 #AF458B #C56CA7 #D698C1

Accessibility & contrast

On white

5.19
#AF458B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF458B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF458B#FFFFFF#000000##FFFFFF
##AF458B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628D
Deuteranopia (green-blind)
#6C7388
Tritanopia (blue-blind)
#B94562
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af458b;
/* rgb */ color: rgb(175, 69, 139);
/* oklch */ color: oklch(55.5% 0.159 343.1);
Tailwind
colors: {
  custom: {
    50: '#ca7fad',
    500: '#af458b',
    950: '#000000',
  },
}
SCSS
$custom: #af458b;
$custom-light: #ca7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#af458b",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 320.377,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55498,
    "c": 0.15939,
    "h": 343.1
  },
  "luminance": 0.15234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF458B

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

Preview Lab → · Contrast checker → · Palette generator →

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