#AF548A#AF548A

#AF548A is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.5% C 0.135 H 345.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF548A
RGBrgb(175, 84, 138)
HSLhsl(324, 36%, 51%)
HSVhsv(324, 52%, 69%)
CMYKcmyk(0%, 52%, 21.1%, 31.4%)
CIE-LABlab(48.63, 43.66, -12.72)
CIE-LCHlch(48.63, 45.47, 343.76°)
OKLaboklab(57.47% 0.1305 -0.0336)
OKLCHoklch(57.47% 0.135 345.6)
XYZxyz(25.4376, 17.2917, 26.0377)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF548A #54AF79
analogous
#A754AF #AF548A #AF545C
triadic
#AF548A #8AAF54 #548AAF
tetradic
#AF548A #AFA754 #54AF79 #545CAF
square
#AF548A #AFA754 #54AF79 #545CAF
split-complementary
#AF548A #5CAF54 #54AFA7
monochromatic
#5D2C49 #873F6A #AF548A #C37EA7 #D6A7C3

Accessibility & contrast

On white

4.71
#AF548A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AF548A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF548A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF548A#FFFFFF#000000##FFFFFF
##AF548A1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8C
Deuteranopia (green-blind)
#747988
Tritanopia (blue-blind)
#B95369
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af548a;
/* rgb */ color: rgb(175, 84, 138);
/* oklch */ color: oklch(57.5% 0.135 345.6);
Tailwind
colors: {
  custom: {
    50: '#c987ac',
    500: '#af548a',
    950: '#000000',
  },
}
SCSS
$custom: #af548a;
$custom-light: #c987ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af548a",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 324.396,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57466,
    "c": 0.13476,
    "h": 345.6
  },
  "luminance": 0.1729
}

Semantic roles & 50–950 ramp

primary
#AF548A
secondary
#9BC4AC
accent
#CC895C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF548A

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

Preview Lab → · Contrast checker → · Palette generator →

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