#AF7EA0#AF7EA0

#AF7EA0 is a light, moderate pink. Relative luminance 0.266; OKLCH L 65.2% C 0.076 H 338.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF7EA0
RGBrgb(175, 126, 160)
HSLhsl(318, 23%, 59%)
HSVhsv(318, 28%, 69%)
CMYKcmyk(0%, 28%, 8.6%, 31.4%)
CIE-LABlab(58.58, 24.50, -10.63)
CIE-LCHlch(58.58, 26.71, 336.54°)
OKLaboklab(65.25% 0.0707 -0.0282)
OKLCHoklch(65.25% 0.076 338.2)
XYZxyz(31.4849, 26.5750, 36.7219)
Luminance0.2657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7EA0 #7EAF8D
analogous
#A67EAF #AF7EA0 #AF7E88
triadic
#AF7EA0 #A0AF7E #7EA0AF
tetradic
#AF7EA0 #AFA67E #7EAF8D #7E88AF
square
#AF7EA0 #AFA67E #7EAF8D #7E88AF
split-complementary
#AF7EA0 #88AF7E #7EAFA6
monochromatic
#6E4461 #945C83 #AF7EA0 #C6A4BC #DECAD8

Accessibility & contrast

On white

3.33
#AF7EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#AF7EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7EA0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7EA0#FFFFFF#000000##000000
##AF7EA01.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F88A1
Deuteranopia (green-blind)
#8B909F
Tritanopia (blue-blind)
#B57F8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af7ea0;
/* rgb */ color: rgb(175, 126, 160);
/* oklch */ color: oklch(65.2% 0.076 338.2);
Tailwind
colors: {
  custom: {
    50: '#c7a4bc',
    500: '#af7ea0',
    950: '#000000',
  },
}
SCSS
$custom: #af7ea0;
$custom-light: #c7a4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af7ea0",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 160
  },
  "hsl": {
    "h": 318.367,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65247,
    "c": 0.07608,
    "h": 338.2
  },
  "luminance": 0.26574
}

Semantic roles & 50–950 ramp

primary
#AF7EA0
secondary
#BBCEC1
accent
#C08368
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#130F12
muted
#827F81

Preview Lab

Preview with #AF7EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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