#AF4147#AF4147

#AF4147 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.9% C 0.144 H 20.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AF4147
RGBrgb(175, 65, 71)
HSLhsl(357, 46%, 47%)
HSVhsv(357, 63%, 69%)
CMYKcmyk(0%, 62.9%, 59.4%, 31.4%)
CIE-LABlab(43.29, 45.31, 20.43)
CIE-LCHlch(43.29, 49.70, 24.27°)
OKLaboklab(52.86% 0.1348 0.0499)
OKLCHoklch(52.86% 0.144 20.3)
XYZxyz(20.7087, 13.3522, 7.4468)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4147 #41AFA9
analogous
#AF417E #AF4147 #AF7241
triadic
#AF4147 #47AF41 #4147AF
tetradic
#AF4147 #7EAF41 #41AFA9 #7241AF
square
#AF4147 #7EAF41 #41AFA9 #7241AF
split-complementary
#AF4147 #41AF72 #417EAF
monochromatic
#562023 #823035 #AF4147 #C6676C #D79397

Accessibility & contrast

On white

5.72
#AF4147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AF4147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4147
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4147#FFFFFF#000000##FFFFFF
##AF41471.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5846
Deuteranopia (green-blind)
#786F44
Tritanopia (blue-blind)
#BF2C44
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af4147;
/* rgb */ color: rgb(175, 65, 71);
/* oklch */ color: oklch(52.9% 0.144 20.3);
Tailwind
colors: {
  custom: {
    50: '#cd7b7a',
    500: '#af4147',
    950: '#000000',
  },
}
SCSS
$custom: #af4147;
$custom-light: #cd7b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4147",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 71
  },
  "hsl": {
    "h": 356.727,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.14371,
    "h": 20.3
  },
  "luminance": 0.13349
}

Semantic roles & 50–950 ramp

primary
#AF4147
secondary
#89C2BF
accent
#D5CE52
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A09
muted
#837C7B

Preview Lab

Preview with #AF4147

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

Preview Lab → · Contrast checker → · Palette generator →

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