#AF6A8A#AF6A8A

#AF6A8A is a mid, moderate pink. Relative luminance 0.213; OKLCH L 60.9% C 0.097 H 351.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF6A8A
RGBrgb(175, 106, 138)
HSLhsl(332, 30%, 55%)
HSVhsv(332, 39%, 69%)
CMYKcmyk(0%, 39.4%, 21.1%, 31.4%)
CIE-LABlab(53.23, 31.97, -5.82)
CIE-LCHlch(53.23, 32.50, 349.69°)
OKLaboklab(60.94% 0.0956 -0.015)
OKLCHoklch(60.94% 0.097 351.1)
XYZxyz(27.4212, 21.2588, 26.6989)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6A8A #6AAF8F
analogous
#AF6AAC #AF6A8A #AF6C6A
triadic
#AF6A8A #8AAF6A #6A8AAF
tetradic
#AF6A8A #ACAF6A #6AAF8F #6C6AAF
square
#AF6A8A #ACAF6A #6AAF8F #6C6AAF
split-complementary
#AF6A8A #6AAF6C #6AACAF
monochromatic
#67374E #8F4D6C #AF6A8A #C492A9 #DABAC9

Accessibility & contrast

On white

4.00
#AF6A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AF6A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6A8A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6A8A#FFFFFF#000000##000000
##AF6A8A1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71788B
Deuteranopia (green-blind)
#828488
Tritanopia (blue-blind)
#B86875
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af6a8a;
/* rgb */ color: rgb(175, 106, 138);
/* oklch */ color: oklch(60.9% 0.097 351.1);
Tailwind
colors: {
  custom: {
    50: '#c896ac',
    500: '#af6a8a',
    950: '#000000',
  },
}
SCSS
$custom: #af6a8a;
$custom-light: #c896ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af6a8a",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 138
  },
  "hsl": {
    "h": 332.174,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60936,
    "c": 0.09676,
    "h": 351.1
  },
  "luminance": 0.21257
}

Semantic roles & 50–950 ramp

primary
#AF6A8A
secondary
#ACC9BB
accent
#C69861
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130D10
muted
#827E7F

Preview Lab

Preview with #AF6A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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