#AF3774#AF3774

#AF3774 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.166 H 353.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF3774
RGBrgb(175, 55, 116)
HSLhsl(330, 52%, 45%)
HSVhsv(330, 69%, 69%)
CMYKcmyk(0%, 68.6%, 33.7%, 31.4%)
CIE-LABlab(42.93, 53.92, -7.92)
CIE-LCHlch(42.93, 54.50, 351.64°)
OKLaboklab(52.99% 0.1648 -0.0203)
OKLCHoklch(52.99% 0.166 353)
XYZxyz(22.1990, 13.1098, 17.8810)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3774 #37AF72
analogous
#AE37AF #AF3774 #AF3738
triadic
#AF3774 #74AF37 #3774AF
tetradic
#AF3774 #AFAE37 #37AF72 #3738AF
square
#AF3774 #AFAE37 #37AF72 #3738AF
split-complementary
#AF3774 #38AF37 #37AFAE
monochromatic
#521A36 #802855 #AF3774 #CB5993 #D987B1

Accessibility & contrast

On white

5.80
#AF3774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF3774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3774
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3774#FFFFFF#000000##FFFFFF
##AF37741.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5876
Deuteranopia (green-blind)
#6C6D71
Tritanopia (blue-blind)
#BC2E51
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3774;
/* rgb */ color: rgb(175, 55, 116);
/* oklch */ color: oklch(53.0% 0.166 353.0);
Tailwind
colors: {
  custom: {
    50: '#cb779c',
    500: '#af3774',
    950: '#000000',
  },
}
SCSS
$custom: #af3774;
$custom-light: #cb779c;
$custom-dark: #000000;
JSON
{
  "hex": "#af3774",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 329.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52985,
    "c": 0.16603,
    "h": 353
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#AF3774
secondary
#7FC3A0
accent
#DC934C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3774

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

Preview Lab → · Contrast checker → · Palette generator →

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