#AF4030#AF4030

#AF4030 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.3% C 0.148 H 30.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AF4030
RGBrgb(175, 64, 48)
HSLhsl(8, 57%, 44%)
HSVhsv(8, 73%, 69%)
CMYKcmyk(0%, 63.4%, 72.6%, 31.4%)
CIE-LABlab(42.76, 44.36, 33.47)
CIE-LCHlch(42.76, 55.57, 37.03°)
OKLaboklab(52.35% 0.1274 0.076)
OKLCHoklch(52.35% 0.148 30.8)
XYZxyz(20.0482, 12.9970, 4.2487)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4030 #309FAF
analogous
#AF305F #AF4030 #AF7F30
triadic
#AF4030 #30AF40 #4030AF
tetradic
#AF4030 #5FAF30 #309FAF #7F30AF
square
#AF4030 #5FAF30 #309FAF #7F30AF
split-complementary
#AF4030 #30AF7F #305FAF
monochromatic
#4F1D16 #7F2E23 #AF4030 #CE5E4E #DC8A7E

Accessibility & contrast

On white

5.84
#AF4030 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF4030 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4030
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4030#FFFFFF#000000##FFFFFF
##AF40301.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562E
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#C0253D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af4030;
/* rgb */ color: rgb(175, 64, 48);
/* oklch */ color: oklch(52.3% 0.148 30.8);
Tailwind
colors: {
  custom: {
    50: '#ce7a69',
    500: '#af4030',
    950: '#000000',
  },
}
SCSS
$custom: #af4030;
$custom-light: #ce7a69;
$custom-dark: #000000;
JSON
{
  "hex": "#af4030",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 48
  },
  "hsl": {
    "h": 7.559,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52346,
    "c": 0.14831,
    "h": 30.8
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#AF4030
secondary
#76BBC4
accent
#CDE048
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF4030

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

Preview Lab → · Contrast checker → · Palette generator →

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