#AF3039#AF3039

#AF3039 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.163 H 21.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF3039
RGBrgb(175, 48, 57)
HSLhsl(356, 57%, 44%)
HSVhsv(356, 73%, 69%)
CMYKcmyk(0%, 72.6%, 67.4%, 31.4%)
CIE-LABlab(40.45, 51.45, 25.38)
CIE-LCHlch(40.45, 57.37, 26.26°)
OKLaboklab(50.66% 0.1516 0.0597)
OKLCHoklch(50.66% 0.163 21.5)
XYZxyz(19.4768, 11.5262, 5.0693)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3039 #30AFA6
analogous
#AF3078 #AF3039 #AF6630
triadic
#AF3039 #39AF30 #3039AF
tetradic
#AF3039 #78AF30 #30AFA6 #6630AF
square
#AF3039 #78AF30 #30AFA6 #6630AF
split-complementary
#AF3039 #30AF66 #3078AF
monochromatic
#4F161A #7F2329 #AF3039 #CE4E57 #DC7E84

Accessibility & contrast

On white

6.35
#AF3039 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF3039 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3039
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3039#FFFFFF#000000##FFFFFF
##AF30391.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E38
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3039;
/* rgb */ color: rgb(175, 48, 57);
/* oklch */ color: oklch(50.7% 0.163 21.5);
Tailwind
colors: {
  custom: {
    50: '#ce726f',
    500: '#af3039',
    950: '#000000',
  },
}
SCSS
$custom: #af3039;
$custom-light: #ce726f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3039",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 57
  },
  "hsl": {
    "h": 355.748,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50661,
    "c": 0.16291,
    "h": 21.5
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#AF3039
secondary
#76C4BF
accent
#E0D548
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF3039

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

Preview Lab → · Contrast checker → · Palette generator →

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