#AF3E7E#AF3E7E

#AF3E7E is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.1% C 0.162 H 348.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF3E7E
RGBrgb(175, 62, 126)
HSLhsl(326, 48%, 46%)
HSVhsv(326, 65%, 69%)
CMYKcmyk(0%, 64.6%, 28%, 31.4%)
CIE-LABlab(44.33, 52.29, -11.96)
CIE-LCHlch(44.33, 53.64, 347.12°)
OKLaboklab(54.14% 0.1586 -0.0313)
OKLCHoklch(54.14% 0.162 348.8)
XYZxyz(23.1687, 14.0679, 21.2298)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E7E #3EAF6F
analogous
#A83EAF #AF3E7E #AF3E46
triadic
#AF3E7E #7EAF3E #3E7EAF
tetradic
#AF3E7E #AFA83E #3EAF6F #3E46AF
square
#AF3E7E #AFA83E #3EAF6F #3E46AF
split-complementary
#AF3E7E #46AF3E #3EAFA8
monochromatic
#551E3D #822E5D #AF3E7E #C8639C #D890B8

Accessibility & contrast

On white

5.51
#AF3E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF3E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E7E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E7E#FFFFFF#000000##FFFFFF
##AF3E7E1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C80
Deuteranopia (green-blind)
#6C707B
Tritanopia (blue-blind)
#BB3A58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3e7e;
/* rgb */ color: rgb(175, 62, 126);
/* oklch */ color: oklch(54.1% 0.162 348.8);
Tailwind
colors: {
  custom: {
    50: '#ca7aa3',
    500: '#af3e7e',
    950: '#000000',
  },
}
SCSS
$custom: #af3e7e;
$custom-light: #ca7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e7e",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 326.018,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54136,
    "c": 0.1617,
    "h": 348.8
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#AF3E7E
secondary
#86C3A0
accent
#D78B51
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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