#AF7EA3#AF7EA3

#AF7EA3 is a light, moderate pink. Relative luminance 0.267; OKLCH L 65.4% C 0.079 H 335.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AF7EA3
RGBrgb(175, 126, 163)
HSLhsl(315, 23%, 59%)
HSVhsv(315, 28%, 69%)
CMYKcmyk(0%, 28%, 6.9%, 31.4%)
CIE-LABlab(58.68, 25.04, -12.21)
CIE-LCHlch(58.68, 27.86, 334.02°)
OKLaboklab(65.36% 0.0717 -0.0326)
OKLCHoklch(65.36% 0.079 335.6)
XYZxyz(31.7505, 26.6812, 38.1207)
Luminance0.2668 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7EA3 #7EAF8A
analogous
#A37EAF #AF7EA3 #AF7E8B
triadic
#AF7EA3 #A3AF7E #7EA3AF
tetradic
#AF7EA3 #AFA37E #7EAF8A #7E8BAF
square
#AF7EA3 #AFA37E #7EAF8A #7E8BAF
split-complementary
#AF7EA3 #8BAF7E #7EAFA3
monochromatic
#6E4464 #945C86 #AF7EA3 #C6A4BE #DECAD9

Accessibility & contrast

On white

3.31
#AF7EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AF7EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7EA3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7EA3#FFFFFF#000000##000000
##AF7EA31.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E89A4
Deuteranopia (green-blind)
#8A90A1
Tritanopia (blue-blind)
#B4808B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af7ea3;
/* rgb */ color: rgb(175, 126, 163);
/* oklch */ color: oklch(65.4% 0.079 335.6);
Tailwind
colors: {
  custom: {
    50: '#c7a4be',
    500: '#af7ea3',
    950: '#000000',
  },
}
SCSS
$custom: #af7ea3;
$custom-light: #c7a4be;
$custom-dark: #000000;
JSON
{
  "hex": "#af7ea3",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 314.694,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65356,
    "c": 0.0787,
    "h": 335.6
  },
  "luminance": 0.2668
}

Semantic roles & 50–950 ramp

primary
#AF7EA3
secondary
#BBCEBF
accent
#C07D68
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#130F12
muted
#827F81

Preview Lab

Preview with #AF7EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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