#AF4740#AF4740

#AF4740 is a mid, vivid red. Relative luminance 0.140; OKLCH L 53.5% C 0.138 H 26.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF4740
RGBrgb(175, 71, 64)
HSLhsl(4, 46%, 47%)
HSVhsv(4, 63%, 69%)
CMYKcmyk(0%, 59.4%, 63.4%, 31.4%)
CIE-LABlab(44.22, 42.01, 25.86)
CIE-LCHlch(44.22, 49.34, 31.61°)
OKLaboklab(53.52% 0.1232 0.0616)
OKLCHoklch(53.52% 0.138 26.6)
XYZxyz(20.8598, 13.9933, 6.4520)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4740 #40A8AF
analogous
#AF4071 #AF4740 #AF7F40
triadic
#AF4740 #40AF47 #4740AF
tetradic
#AF4740 #71AF40 #40A8AF #7F40AF
square
#AF4740 #71AF40 #40A8AF #7F40AF
split-complementary
#AF4740 #40AF7F #4071AF
monochromatic
#55231F #823530 #AF4740 #C76C65 #D79792

Accessibility & contrast

On white

5.53
#AF4740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF4740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4740
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4740#FFFFFF#000000##FFFFFF
##AF47401.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4740;
/* rgb */ color: rgb(175, 71, 64);
/* oklch */ color: oklch(53.5% 0.138 26.6);
Tailwind
colors: {
  custom: {
    50: '#cd7e75',
    500: '#af4740',
    950: '#000000',
  },
}
SCSS
$custom: #af4740;
$custom-light: #cd7e75;
$custom-dark: #000000;
JSON
{
  "hex": "#af4740",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 64
  },
  "hsl": {
    "h": 3.784,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.13771,
    "h": 26.6
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

primary
#AF4740
secondary
#88BFC3
accent
#CED652
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #AF4740

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

Preview Lab → · Contrast checker → · Palette generator →

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