#AF2670#AF2670

#AF2670 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.184 H 352.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF2670
RGBrgb(175, 38, 112)
HSLhsl(328, 64%, 42%)
HSVhsv(328, 78%, 69%)
CMYKcmyk(0%, 78.3%, 36%, 31.4%)
CIE-LABlab(40.69, 59.34, -8.79)
CIE-LCHlch(40.69, 59.99, 351.57°)
OKLaboklab(51.3% 0.1822 -0.0226)
OKLCHoklch(51.3% 0.184 352.9)
XYZxyz(21.2983, 11.6727, 16.4576)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2670 #26AF65
analogous
#AA26AF #AF2670 #AF262C
triadic
#AF2670 #70AF26 #2670AF
tetradic
#AF2670 #AFAA26 #26AF65 #262CAF
square
#AF2670 #AFAA26 #26AF65 #262CAF
split-complementary
#AF2670 #2CAF26 #26AFAA
monochromatic
#4A1030 #7D1B50 #AF2670 #D53D8F #E070AC

Accessibility & contrast

On white

6.30
#AF2670 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2670 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2670
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2670#FFFFFF#000000##FFFFFF
##AF26701.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415072
Deuteranopia (green-blind)
#68696D
Tritanopia (blue-blind)
#BD1748
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2670;
/* rgb */ color: rgb(175, 38, 112);
/* oklch */ color: oklch(51.3% 0.184 352.9);
Tailwind
colors: {
  custom: {
    50: '#cc6f99',
    500: '#af2670',
    950: '#000000',
  },
}
SCSS
$custom: #af2670;
$custom-light: #cc6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#af2670",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 112
  },
  "hsl": {
    "h": 327.591,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51299,
    "c": 0.18358,
    "h": 352.9
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#AF2670
secondary
#6AC795
accent
#E78D40
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2670

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

Preview Lab → · Contrast checker → · Palette generator →

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