#AF4039#AF4039

#AF4039 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.5% C 0.147 H 26.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF4039
RGBrgb(175, 64, 57)
HSLhsl(4, 51%, 45%)
HSVhsv(4, 67%, 69%)
CMYKcmyk(0%, 63.4%, 67.4%, 31.4%)
CIE-LABlab(42.88, 44.84, 28.37)
CIE-LCHlch(42.88, 53.06, 32.32°)
OKLaboklab(52.48% 0.1307 0.0664)
OKLCHoklch(52.48% 0.147 26.9)
XYZxyz(20.2532, 13.0789, 5.3281)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4039 #39A8AF
analogous
#AF396D #AF4039 #AF7B39
triadic
#AF4039 #39AF40 #4039AF
tetradic
#AF4039 #6DAF39 #39A8AF #7B39AF
square
#AF4039 #6DAF39 #39A8AF #7B39AF
split-complementary
#AF4039 #39AF7B #396DAF
monochromatic
#531E1B #812F2A #AF4039 #CA625B #D98E8A

Accessibility & contrast

On white

5.81
#AF4039 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF4039 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4039
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4039#FFFFFF#000000##FFFFFF
##AF40391.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5638
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#C0273F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af4039;
/* rgb */ color: rgb(175, 64, 57);
/* oklch */ color: oklch(52.5% 0.147 26.9);
Tailwind
colors: {
  custom: {
    50: '#ce7a6f',
    500: '#af4039',
    950: '#000000',
  },
}
SCSS
$custom: #af4039;
$custom-light: #ce7a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4039",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 57
  },
  "hsl": {
    "h": 3.559,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52479,
    "c": 0.14656,
    "h": 26.9
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#AF4039
secondary
#81BFC3
accent
#D2DA4D
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AF4039

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

Preview Lab → · Contrast checker → · Palette generator →

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