#AF424F#AF424F

#AF424F is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.2% C 0.142 H 16.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF424F
RGBrgb(175, 66, 79)
HSLhsl(353, 45%, 47%)
HSVhsv(353, 62%, 69%)
CMYKcmyk(0%, 62.3%, 54.9%, 31.4%)
CIE-LABlab(43.62, 45.48, 15.97)
CIE-LCHlch(43.62, 48.20, 19.35°)
OKLaboklab(53.16% 0.1366 0.0398)
OKLCHoklch(53.16% 0.142 16.3)
XYZxyz(21.0405, 13.5776, 8.9084)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF424F #42AFA2
analogous
#AF4286 #AF424F #AF6C42
triadic
#AF424F #4FAF42 #424FAF
tetradic
#AF424F #86AF42 #42AFA2 #6C42AF
square
#AF424F #86AF42 #42AFA2 #6C42AF
split-complementary
#AF424F #42AF6C #4286AF
monochromatic
#562027 #83313B #AF424F #C66873 #D7959C

Accessibility & contrast

On white

5.65
#AF424F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF424F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF424F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF424F#FFFFFF#000000##FFFFFF
##AF424F1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C594F
Deuteranopia (green-blind)
#786F4C
Tritanopia (blue-blind)
#BF2F47
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af424f;
/* rgb */ color: rgb(175, 66, 79);
/* oklch */ color: oklch(53.2% 0.142 16.3);
Tailwind
colors: {
  custom: {
    50: '#cc7c80',
    500: '#af424f',
    950: '#000000',
  },
}
SCSS
$custom: #af424f;
$custom-light: #cc7c80;
$custom-dark: #000000;
JSON
{
  "hex": "#af424f",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 79
  },
  "hsl": {
    "h": 352.844,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53162,
    "c": 0.14227,
    "h": 16.3
  },
  "luminance": 0.13575
}

Semantic roles & 50–950 ramp

primary
#AF424F
secondary
#8AC2BC
accent
#D5C553
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AF424F

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

Preview Lab → · Contrast checker → · Palette generator →

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