#AF459D#AF459D

#AF459D is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.3% C 0.172 H 334.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AF459D
RGBrgb(175, 69, 157)
HSLhsl(310, 43%, 48%)
HSVhsv(310, 61%, 69%)
CMYKcmyk(0%, 60.6%, 10.3%, 31.4%)
CIE-LABlab(46.72, 53.79, -26.99)
CIE-LCHlch(46.72, 60.18, 333.36°)
OKLaboklab(56.31% 0.1561 -0.0734)
OKLCHoklch(56.31% 0.172 334.8)
XYZxyz(25.8933, 15.8065, 33.5789)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF459D #45AF57
analogous
#8C45AF #AF459D #AF4568
triadic
#AF459D #9DAF45 #459DAF
tetradic
#AF459D #AF8C45 #45AF57 #4568AF
square
#AF459D #AF8C45 #45AF57 #4568AF
split-complementary
#AF459D #68AF45 #45AF8C
monochromatic
#57224E #833476 #AF459D #C56CB6 #D698CC

Accessibility & contrast

On white

5.05
#AF459D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF459D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF459D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF459D#FFFFFF#000000##FFFFFF
##AF459D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4565A0
Deuteranopia (green-blind)
#66749A
Tritanopia (blue-blind)
#B74C6B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af459d;
/* rgb */ color: rgb(175, 69, 157);
/* oklch */ color: oklch(56.3% 0.172 334.8);
Tailwind
colors: {
  custom: {
    50: '#ca7fba',
    500: '#af459d',
    950: '#000000',
  },
}
SCSS
$custom: #af459d;
$custom-light: #ca7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#af459d",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 310.189,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.17248,
    "h": 334.8
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#AF459D
secondary
#8DC296
accent
#D36A55
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF459D

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

Preview Lab → · Contrast checker → · Palette generator →

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