#AF3E8E#AF3E8E

#AF3E8E is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.8% C 0.172 H 341.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AF3E8E
RGBrgb(175, 62, 142)
HSLhsl(318, 48%, 46%)
HSVhsv(318, 65%, 69%)
CMYKcmyk(0%, 64.6%, 18.9%, 31.4%)
CIE-LABlab(44.96, 54.51, -20.71)
CIE-LCHlch(44.96, 58.31, 339.19°)
OKLaboklab(54.81% 0.1624 -0.0556)
OKLCHoklch(54.81% 0.172 341.1)
XYZxyz(24.2849, 14.5144, 27.1085)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E8E #3EAF5F
analogous
#983EAF #AF3E8E #AF3E56
triadic
#AF3E8E #8EAF3E #3E8EAF
tetradic
#AF3E8E #AF983E #3EAF5F #3E56AF
square
#AF3E8E #AF983E #3EAF5F #3E56AF
split-complementary
#AF3E8E #56AF3E #3EAF98
monochromatic
#551E45 #822E69 #AF3E8E #C863AA #D890C3

Accessibility & contrast

On white

5.38
#AF3E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF3E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E8E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E8E#FFFFFF#000000##FFFFFF
##AF3E8E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#B94060
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3e8e;
/* rgb */ color: rgb(175, 62, 142);
/* oklch */ color: oklch(54.8% 0.172 341.1);
Tailwind
colors: {
  custom: {
    50: '#ca7baf',
    500: '#af3e8e',
    950: '#000000',
  },
}
SCSS
$custom: #af3e8e;
$custom-light: #ca7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e8e",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 317.522,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.17166,
    "h": 341.1
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#AF3E8E
secondary
#86C398
accent
#D77851
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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