#AF3147#AF3147

#AF3147 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.162 H 15.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF3147
RGBrgb(175, 49, 71)
HSLhsl(350, 56%, 44%)
HSVhsv(350, 72%, 69%)
CMYKcmyk(0%, 72%, 59.4%, 31.4%)
CIE-LABlab(40.85, 51.96, 17.20)
CIE-LCHlch(40.85, 54.73, 18.31°)
OKLaboklab(51.04% 0.1559 0.0423)
OKLCHoklch(51.04% 0.162 15.2)
XYZxyz(19.9168, 11.7683, 7.1828)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3147 #31AF99
analogous
#AF3186 #AF3147 #AF5A31
triadic
#AF3147 #47AF31 #3147AF
tetradic
#AF3147 #86AF31 #31AF99 #5A31AF
square
#AF3147 #86AF31 #31AF99 #5A31AF
split-complementary
#AF3147 #31AF5A #3186AF
monochromatic
#4F1620 #7F2434 #AF3147 #CE4F65 #DB7F8F

Accessibility & contrast

On white

6.26
#AF3147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF3147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3147
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3147#FFFFFF#000000##FFFFFF
##AF31471.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525047
Deuteranopia (green-blind)
#726A44
Tritanopia (blue-blind)
#C00E3A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3147;
/* rgb */ color: rgb(175, 49, 71);
/* oklch */ color: oklch(51.0% 0.162 15.2);
Tailwind
colors: {
  custom: {
    50: '#cd737a',
    500: '#af3147',
    950: '#000000',
  },
}
SCSS
$custom: #af3147;
$custom-light: #cd737a;
$custom-dark: #000000;
JSON
{
  "hex": "#af3147",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 71
  },
  "hsl": {
    "h": 349.524,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51036,
    "c": 0.16158,
    "h": 15.2
  },
  "luminance": 0.11766
}

Semantic roles & 50–950 ramp

primary
#AF3147
secondary
#78C4B7
accent
#E0C548
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF3147

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

Preview Lab → · Contrast checker → · Palette generator →

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