#AF4A6A#AF4A6A

#AF4A6A is a mid, vivid pink. Relative luminance 0.151; OKLCH L 54.9% C 0.135 H 2.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF4A6A
RGBrgb(175, 74, 106)
HSLhsl(341, 41%, 49%)
HSVhsv(341, 58%, 69%)
CMYKcmyk(0%, 57.7%, 39.4%, 31.4%)
CIE-LABlab(45.71, 44.37, 2.32)
CIE-LCHlch(45.71, 44.43, 3.00°)
OKLaboklab(54.95% 0.1352 0.0066)
OKLCHoklch(54.95% 0.135 2.8)
XYZxyz(22.7308, 15.0546, 15.3416)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A6A #4AAF8F
analogous
#AF4A9D #AF4A6A #AF5D4A
triadic
#AF4A6A #6AAF4A #4A6AAF
tetradic
#AF4A6A #9DAF4A #4AAF8F #5D4AAF
square
#AF4A6A #9DAF4A #4AAF8F #5D4AAF
split-complementary
#AF4A6A #4AAF5D #4A9DAF
monochromatic
#592636 #843850 #AF4A6A #C4738C #D69EAF

Accessibility & contrast

On white

5.24
#AF4A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF4A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A6A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A6A#FFFFFF#000000##FFFFFF
##AF4A6A1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C606B
Deuteranopia (green-blind)
#777368
Tritanopia (blue-blind)
#BD4056
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4a6a;
/* rgb */ color: rgb(175, 74, 106);
/* oklch */ color: oklch(54.9% 0.135 2.8);
Tailwind
colors: {
  custom: {
    50: '#cb8194',
    500: '#af4a6a',
    950: '#000000',
  },
}
SCSS
$custom: #af4a6a;
$custom-light: #cb8194;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a6a",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 106
  },
  "hsl": {
    "h": 340.99,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54946,
    "c": 0.13537,
    "h": 2.8
  },
  "luminance": 0.15052
}

Semantic roles & 50–950 ramp

primary
#AF4A6A
secondary
#92C2B3
accent
#D0AA57
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF4A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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