#AF459C#AF459C

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

Color values

HEX#AF459C
RGBrgb(175, 69, 156)
HSLhsl(311, 43%, 48%)
HSVhsv(311, 61%, 69%)
CMYKcmyk(0%, 60.6%, 10.9%, 31.4%)
CIE-LABlab(46.67, 53.63, -26.46)
CIE-LCHlch(46.67, 59.80, 333.74°)
OKLaboklab(56.26% 0.1559 -0.0719)
OKLCHoklch(56.26% 0.172 335.2)
XYZxyz(25.8083, 15.7725, 33.1312)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF459C #45AF58
analogous
#8D45AF #AF459C #AF4567
triadic
#AF459C #9CAF45 #459CAF
tetradic
#AF459C #AF8D45 #45AF58 #4567AF
square
#AF459C #AF8D45 #45AF58 #4567AF
split-complementary
#AF459C #67AF45 #45AF8D
monochromatic
#57224E #833475 #AF459C #C56CB5 #D698CB

Accessibility & contrast

On white

5.06
#AF459C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF459C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF459C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF459C#FFFFFF#000000##FFFFFF
##AF459C1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45659F
Deuteranopia (green-blind)
#667499
Tritanopia (blue-blind)
#B74B6A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af459c;
/* rgb */ color: rgb(175, 69, 156);
/* oklch */ color: oklch(56.3% 0.172 335.2);
Tailwind
colors: {
  custom: {
    50: '#ca7fb9',
    500: '#af459c',
    950: '#000000',
  },
}
SCSS
$custom: #af459c;
$custom-light: #ca7fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#af459c",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 310.755,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56261,
    "c": 0.1717,
    "h": 335.2
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#AF459C
secondary
#8DC297
accent
#D36B55
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF459C

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

Preview Lab → · Contrast checker → · Palette generator →

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