#AF4239#AF4239

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

Color values

HEX#AF4239
RGBrgb(175, 66, 57)
HSLhsl(5, 51%, 45%)
HSVhsv(5, 67%, 69%)
CMYKcmyk(0%, 62.3%, 67.4%, 31.4%)
CIE-LABlab(43.22, 43.93, 28.78)
CIE-LCHlch(43.22, 52.52, 33.23°)
OKLaboklab(52.74% 0.1278 0.0673)
OKLCHoklch(52.74% 0.144 27.8)
XYZxyz(20.3680, 13.3086, 5.3664)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4239 #39A6AF
analogous
#AF396B #AF4239 #AF7D39
triadic
#AF4239 #39AF42 #4239AF
tetradic
#AF4239 #6BAF39 #39A6AF #7D39AF
square
#AF4239 #6BAF39 #39A6AF #7D39AF
split-complementary
#AF4239 #39AF7D #396BAF
monochromatic
#531F1B #81312A #AF4239 #CA645B #D9908A

Accessibility & contrast

On white

5.74
#AF4239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF4239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4239
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4239#FFFFFF#000000##FFFFFF
##AF42391.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5737
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#C02A41
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af4239;
/* rgb */ color: rgb(175, 66, 57);
/* oklch */ color: oklch(52.7% 0.144 27.8);
Tailwind
colors: {
  custom: {
    50: '#ce7b6f',
    500: '#af4239',
    950: '#000000',
  },
}
SCSS
$custom: #af4239;
$custom-light: #ce7b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4239",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 57
  },
  "hsl": {
    "h": 4.576,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52736,
    "c": 0.14443,
    "h": 27.8
  },
  "luminance": 0.13306
}

Semantic roles & 50–950 ramp

primary
#AF4239
secondary
#81BEC3
accent
#D0DA4D
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AF4239

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

Preview Lab → · Contrast checker → · Palette generator →

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