#AF546E#AF546E

#AF546E is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.5% C 0.121 H 3.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF546E
RGBrgb(175, 84, 110)
HSLhsl(343, 36%, 51%)
HSVhsv(343, 52%, 69%)
CMYKcmyk(0%, 52%, 37.1%, 31.4%)
CIE-LABlab(47.73, 39.86, 2.81)
CIE-LCHlch(47.73, 39.95, 4.04°)
OKLaboklab(56.5% 0.1212 0.0078)
OKLCHoklch(56.5% 0.121 3.7)
XYZxyz(23.6652, 16.5827, 16.7033)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF546E #54AF95
analogous
#AF549B #AF546E #AF6754
triadic
#AF546E #6EAF54 #546EAF
tetradic
#AF546E #9BAF54 #54AF95 #6754AF
square
#AF546E #9BAF54 #54AF95 #6754AF
split-complementary
#AF546E #54AF67 #549BAF
monochromatic
#5D2C3A #873F54 #AF546E #C37E91 #D6A7B5

Accessibility & contrast

On white

4.87
#AF546E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF546E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF546E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF546E#FFFFFF#000000##FFFFFF
##AF546E1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64676F
Deuteranopia (green-blind)
#7B786C
Tritanopia (blue-blind)
#BC4C5E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af546e;
/* rgb */ color: rgb(175, 84, 110);
/* oklch */ color: oklch(56.5% 0.121 3.7);
Tailwind
colors: {
  custom: {
    50: '#ca8797',
    500: '#af546e',
    950: '#000000',
  },
}
SCSS
$custom: #af546e;
$custom-light: #ca8797;
$custom-dark: #000000;
JSON
{
  "hex": "#af546e",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 110
  },
  "hsl": {
    "h": 342.857,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.565,
    "c": 0.12143,
    "h": 3.7
  },
  "luminance": 0.1658
}

Semantic roles & 50–950 ramp

primary
#AF546E
secondary
#9BC4B8
accent
#CCAC5C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF546E

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

Preview Lab → · Contrast checker → · Palette generator →

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