#AF459B#AF459B

#AF459B is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.2% C 0.171 H 335.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF459B
RGBrgb(175, 69, 155)
HSLhsl(311, 43%, 48%)
HSVhsv(311, 61%, 69%)
CMYKcmyk(0%, 60.6%, 11.4%, 31.4%)
CIE-LABlab(46.63, 53.47, -25.93)
CIE-LCHlch(46.63, 59.42, 334.12°)
OKLaboklab(56.21% 0.1557 -0.0704)
OKLCHoklch(56.21% 0.171 335.7)
XYZxyz(25.7239, 15.7388, 32.6870)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF459B #45AF59
analogous
#8E45AF #AF459B #AF4566
triadic
#AF459B #9BAF45 #459BAF
tetradic
#AF459B #AF8E45 #45AF59 #4566AF
square
#AF459B #AF8E45 #45AF59 #4566AF
split-complementary
#AF459B #66AF45 #45AF8E
monochromatic
#57224D #833474 #AF459B #C56CB4 #D698CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF459B#FFFFFF#000000##FFFFFF
##AF459B1.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)
#46649E
Deuteranopia (green-blind)
#667498
Tritanopia (blue-blind)
#B74B6A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af459b;
/* rgb */ color: rgb(175, 69, 155);
/* oklch */ color: oklch(56.2% 0.171 335.7);
Tailwind
colors: {
  custom: {
    50: '#ca7fb8',
    500: '#af459b',
    950: '#000000',
  },
}
SCSS
$custom: #af459b;
$custom-light: #ca7fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#af459b",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 311.321,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.17092,
    "h": 335.7
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF459B

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

Preview Lab → · Contrast checker → · Palette generator →

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