#AF99BC#AF99BC

#AF99BC is a light, muted violet. Relative luminance 0.355; OKLCH L 71.4% C 0.056 H 312.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#AF99BC
RGBrgb(175, 153, 188)
HSLhsl(278, 21%, 67%)
HSVhsv(278, 19%, 74%)
CMYKcmyk(6.9%, 18.6%, 0%, 26.3%)
CIE-LABlab(66.16, 14.69, -15.10)
CIE-LCHlch(66.16, 21.06, 314.21°)
OKLaboklab(71.39% 0.0379 -0.0407)
OKLCHoklch(71.39% 0.056 312.9)
XYZxyz(38.1460, 35.5276, 52.4152)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99BC #A6BC99
analogous
#9E99BC #AF99BC #BC99B8
triadic
#AF99BC #BCAF99 #99BCAF
tetradic
#AF99BC #BC9E99 #A6BC99 #99B8BC
square
#AF99BC #BC9E99 #A6BC99 #99B8BC
split-complementary
#AF99BC #B8BC99 #99BC9E
monochromatic
#735784 #9274A4 #AF99BC #CCBED4 #E9E3ED

Accessibility & contrast

On white

2.59
#AF99BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#AF99BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99BC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99BC#FFFFFF#000000##000000
##AF99BC1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A0BE
Deuteranopia (green-blind)
#99A1BB
Tritanopia (blue-blind)
#AE9DA5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #af99bc;
/* rgb */ color: rgb(175, 153, 188);
/* oklch */ color: oklch(71.4% 0.056 312.9);
Tailwind
colors: {
  custom: {
    50: '#c7b7d0',
    500: '#af99bc',
    950: '#000000',
  },
}
SCSS
$custom: #af99bc;
$custom-light: #c7b7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af99bc",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 188
  },
  "hsl": {
    "h": 277.714,
    "s": 20.71,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71389,
    "c": 0.05566,
    "h": 312.9
  },
  "luminance": 0.35527
}

Semantic roles & 50–950 ramp

primary
#AF99BC
secondary
#D7DED3
accent
#9F4667
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #AF99BC

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

Preview Lab → · Contrast checker → · Palette generator →

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