#AF3770#AF3770

#AF3770 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.8% C 0.164 H 355.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF3770
RGBrgb(175, 55, 112)
HSLhsl(332, 52%, 45%)
HSVhsv(332, 69%, 69%)
CMYKcmyk(0%, 68.6%, 36%, 31.4%)
CIE-LABlab(42.79, 53.45, -5.65)
CIE-LCHlch(42.79, 53.75, 353.96°)
OKLaboklab(52.84% 0.1636 -0.0142)
OKLCHoklch(52.84% 0.164 355)
XYZxyz(21.9713, 13.0187, 16.6819)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3770 #37AF76
analogous
#AF37AC #AF3770 #AF3A37
triadic
#AF3770 #70AF37 #3770AF
tetradic
#AF3770 #ACAF37 #37AF76 #3A37AF
square
#AF3770 #ACAF37 #37AF76 #3A37AF
split-complementary
#AF3770 #37AF3A #37ACAF
monochromatic
#521A34 #802852 #AF3770 #CB598F #D987AE

Accessibility & contrast

On white

5.83
#AF3770 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF3770 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3770
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3770#FFFFFF#000000##FFFFFF
##AF37701.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5772
Deuteranopia (green-blind)
#6D6D6D
Tritanopia (blue-blind)
#BD2D4F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3770;
/* rgb */ color: rgb(175, 55, 112);
/* oklch */ color: oklch(52.8% 0.164 355.0);
Tailwind
colors: {
  custom: {
    50: '#cb7699',
    500: '#af3770',
    950: '#000000',
  },
}
SCSS
$custom: #af3770;
$custom-light: #cb7699;
$custom-dark: #000000;
JSON
{
  "hex": "#af3770",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 112
  },
  "hsl": {
    "h": 331.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5284,
    "c": 0.16419,
    "h": 355
  },
  "luminance": 0.13016
}

Semantic roles & 50–950 ramp

primary
#AF3770
secondary
#7FC3A3
accent
#DC974C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF3770

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

Preview Lab → · Contrast checker → · Palette generator →

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