#AF2039#AF2039

#AF2039 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 18.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AF2039
RGBrgb(175, 32, 57)
HSLhsl(350, 69%, 41%)
HSVhsv(350, 82%, 69%)
CMYKcmyk(0%, 81.7%, 67.4%, 31.4%)
CIE-LABlab(38.63, 56.55, 23.10)
CIE-LCHlch(38.63, 61.09, 22.22°)
OKLaboklab(49.31% 0.1679 0.0546)
OKLCHoklch(49.31% 0.177 18)
XYZxyz(18.9364, 10.4453, 4.8892)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2039 #20AF96
analogous
#AF2081 #AF2039 #AF4E20
triadic
#AF2039 #39AF20 #2039AF
tetradic
#AF2039 #81AF20 #20AF96 #4E20AF
square
#AF2039 #81AF20 #20AF96 #4E20AF
split-complementary
#AF2039 #20AF4E #2081AF
monochromatic
#480D17 #7B1728 #AF2039 #DA3350 #E3667C

Accessibility & contrast

On white

6.80
#AF2039 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AF2039 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2039
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2039#FFFFFF#000000##FFFFFF
##AF20391.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4839
Deuteranopia (green-blind)
#706635
Tritanopia (blue-blind)
#C0002B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2039;
/* rgb */ color: rgb(175, 32, 57);
/* oklch */ color: oklch(49.3% 0.177 18.0);
Tailwind
colors: {
  custom: {
    50: '#cf6b6f',
    500: '#af2039',
    950: '#000000',
  },
}
SCSS
$custom: #af2039;
$custom-light: #cf6b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2039",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 57
  },
  "hsl": {
    "h": 349.51,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.17656,
    "h": 18
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#AF2039
secondary
#62C8B7
accent
#ECCD3C
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF2039

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

Preview Lab → · Contrast checker → · Palette generator →

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