#AF548E#AF548E

#AF548E is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.6% C 0.137 H 343.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF548E
RGBrgb(175, 84, 142)
HSLhsl(322, 36%, 51%)
HSVhsv(322, 52%, 69%)
CMYKcmyk(0%, 52%, 18.9%, 31.4%)
CIE-LABlab(48.77, 44.27, -14.88)
CIE-LCHlch(48.77, 46.70, 341.42°)
OKLaboklab(57.62% 0.1316 -0.0396)
OKLCHoklch(57.62% 0.137 343.3)
XYZxyz(25.7325, 17.4096, 27.5910)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF548E #54AF75
analogous
#A254AF #AF548E #AF5460
triadic
#AF548E #8EAF54 #548EAF
tetradic
#AF548E #AFA254 #54AF75 #5460AF
square
#AF548E #AFA254 #54AF75 #5460AF
split-complementary
#AF548E #60AF54 #54AFA2
monochromatic
#5D2C4B #873F6D #AF548E #C37EAA #D6A7C5

Accessibility & contrast

On white

4.69
#AF548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF548E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF548E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF548E#FFFFFF#000000##FFFFFF
##AF548E1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B90
Deuteranopia (green-blind)
#73798C
Tritanopia (blue-blind)
#B9546A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af548e;
/* rgb */ color: rgb(175, 84, 142);
/* oklch */ color: oklch(57.6% 0.137 343.3);
Tailwind
colors: {
  custom: {
    50: '#c987af',
    500: '#af548e',
    950: '#000000',
  },
}
SCSS
$custom: #af548e;
$custom-light: #c987af;
$custom-dark: #000000;
JSON
{
  "hex": "#af548e",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 321.758,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.13745,
    "h": 343.3
  },
  "luminance": 0.17408
}

Semantic roles & 50–950 ramp

primary
#AF548E
secondary
#9BC4AA
accent
#CC845C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF548E

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

Preview Lab → · Contrast checker → · Palette generator →

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