#AF4840#AF4840

#AF4840 is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.7% C 0.137 H 27.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AF4840
RGBrgb(175, 72, 64)
HSLhsl(4, 46%, 47%)
HSVhsv(4, 63%, 69%)
CMYKcmyk(0%, 58.9%, 63.4%, 31.4%)
CIE-LABlab(44.41, 41.53, 26.09)
CIE-LCHlch(44.41, 49.05, 32.14°)
OKLaboklab(53.66% 0.1216 0.0621)
OKLCHoklch(53.66% 0.137 27.1)
XYZxyz(20.9239, 14.1215, 6.4734)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4840 #40A7AF
analogous
#AF4070 #AF4840 #AF8040
triadic
#AF4840 #40AF48 #4840AF
tetradic
#AF4840 #70AF40 #40A7AF #8040AF
square
#AF4840 #70AF40 #40A7AF #8040AF
split-complementary
#AF4840 #40AF80 #4070AF
monochromatic
#55231F #823630 #AF4840 #C76C65 #D79792

Accessibility & contrast

On white

5.49
#AF4840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF4840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4840
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4840#FFFFFF#000000##FFFFFF
##AF48401.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3F
Deuteranopia (green-blind)
#7C713D
Tritanopia (blue-blind)
#C03447
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4840;
/* rgb */ color: rgb(175, 72, 64);
/* oklch */ color: oklch(53.7% 0.137 27.1);
Tailwind
colors: {
  custom: {
    50: '#cd7f75',
    500: '#af4840',
    950: '#000000',
  },
}
SCSS
$custom: #af4840;
$custom-light: #cd7f75;
$custom-dark: #000000;
JSON
{
  "hex": "#af4840",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 64
  },
  "hsl": {
    "h": 4.324,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53662,
    "c": 0.13659,
    "h": 27.1
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

primary
#AF4840
secondary
#88BEC3
accent
#CDD652
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #AF4840

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

Preview Lab → · Contrast checker → · Palette generator →

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