#AF3870#AF3870

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

Color values

HEX#AF3870
RGBrgb(175, 56, 112)
HSLhsl(332, 52%, 45%)
HSVhsv(332, 68%, 69%)
CMYKcmyk(0%, 68%, 36%, 31.4%)
CIE-LABlab(42.94, 53.05, -5.44)
CIE-LCHlch(42.94, 53.33, 354.15°)
OKLaboklab(52.95% 0.1623 -0.0137)
OKLCHoklch(52.95% 0.163 355.2)
XYZxyz(22.0193, 13.1147, 16.6979)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3870 #38AF77
analogous
#AF38AB #AF3870 #AF3C38
triadic
#AF3870 #70AF38 #3870AF
tetradic
#AF3870 #ABAF38 #38AF77 #3C38AF
square
#AF3870 #ABAF38 #38AF77 #3C38AF
split-complementary
#AF3870 #38AF3C #38ABAF
monochromatic
#521A35 #812952 #AF3870 #CA5A8F #D988AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3870#FFFFFF#000000##FFFFFF
##AF38701.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)
#4D5772
Deuteranopia (green-blind)
#6E6D6D
Tritanopia (blue-blind)
#BD2E4F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3870;
/* rgb */ color: rgb(175, 56, 112);
/* oklch */ color: oklch(52.9% 0.163 355.2);
Tailwind
colors: {
  custom: {
    50: '#cb7799',
    500: '#af3870',
    950: '#000000',
  },
}
SCSS
$custom: #af3870;
$custom-light: #cb7799;
$custom-dark: #000000;
JSON
{
  "hex": "#af3870",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 112
  },
  "hsl": {
    "h": 331.765,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.16289,
    "h": 355.2
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#AF3870
secondary
#80C3A3
accent
#DB984D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF3870

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

Preview Lab → · Contrast checker → · Palette generator →

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