#AF3E7B#AF3E7B

#AF3E7B is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.0% C 0.160 H 350.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF3E7B
RGBrgb(175, 62, 123)
HSLhsl(328, 48%, 46%)
HSVhsv(328, 65%, 69%)
CMYKcmyk(0%, 64.6%, 29.7%, 31.4%)
CIE-LABlab(44.22, 51.91, -10.29)
CIE-LCHlch(44.22, 52.91, 348.79°)
OKLaboklab(54.02% 0.1578 -0.0268)
OKLCHoklch(54.02% 0.16 350.4)
XYZxyz(22.9780, 13.9917, 20.2256)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E7B #3EAF72
analogous
#AB3EAF #AF3E7B #AF3E43
triadic
#AF3E7B #7BAF3E #3E7BAF
tetradic
#AF3E7B #AFAB3E #3EAF72 #3E43AF
square
#AF3E7B #AFAB3E #3EAF72 #3E43AF
split-complementary
#AF3E7B #43AF3E #3EAFAB
monochromatic
#551E3B #822E5B #AF3E7B #C86399 #D890B7

Accessibility & contrast

On white

5.53
#AF3E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF3E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E7B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E7B#FFFFFF#000000##FFFFFF
##AF3E7B1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7D
Deuteranopia (green-blind)
#6D7078
Tritanopia (blue-blind)
#BB3957
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3e7b;
/* rgb */ color: rgb(175, 62, 123);
/* oklch */ color: oklch(54.0% 0.160 350.4);
Tailwind
colors: {
  custom: {
    50: '#ca7aa1',
    500: '#af3e7b',
    950: '#000000',
  },
}
SCSS
$custom: #af3e7b;
$custom-light: #ca7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e7b",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 327.611,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54019,
    "c": 0.16007,
    "h": 350.4
  },
  "luminance": 0.13989
}

Semantic roles & 50–950 ramp

primary
#AF3E7B
secondary
#86C3A2
accent
#D78F51
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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