#AF3D7B#AF3D7B

#AF3D7B is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.9% C 0.161 H 350.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF3D7B
RGBrgb(175, 61, 123)
HSLhsl(327, 48%, 46%)
HSVhsv(327, 65%, 69%)
CMYKcmyk(0%, 65.1%, 29.7%, 31.4%)
CIE-LABlab(44.07, 52.33, -10.52)
CIE-LCHlch(44.07, 53.38, 348.63°)
OKLaboklab(53.91% 0.1591 -0.0274)
OKLCHoklch(53.91% 0.161 350.2)
XYZxyz(22.9242, 13.8839, 20.2076)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D7B #3DAF71
analogous
#AA3DAF #AF3D7B #AF3D42
triadic
#AF3D7B #7BAF3D #3D7BAF
tetradic
#AF3D7B #AFAA3D #3DAF71 #3D42AF
square
#AF3D7B #AFAA3D #3DAF71 #3D42AF
split-complementary
#AF3D7B #42AF3D #3DAFAA
monochromatic
#541D3B #822D5B #AF3D7B #C86199 #D88FB6

Accessibility & contrast

On white

5.56
#AF3D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF3D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D7B
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D7B#FFFFFF#000000##FFFFFF
##AF3D7B1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7D
Deuteranopia (green-blind)
#6D7078
Tritanopia (blue-blind)
#BB3857
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3d7b;
/* rgb */ color: rgb(175, 61, 123);
/* oklch */ color: oklch(53.9% 0.161 350.2);
Tailwind
colors: {
  custom: {
    50: '#cb7aa1',
    500: '#af3d7b',
    950: '#000000',
  },
}
SCSS
$custom: #af3d7b;
$custom-light: #cb7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d7b",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 327.368,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53905,
    "c": 0.16147,
    "h": 350.2
  },
  "luminance": 0.13882
}

Semantic roles & 50–950 ramp

primary
#AF3D7B
secondary
#85C3A1
accent
#D88E50
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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