#AF4023#AF4023

#AF4023 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.2% C 0.151 H 35.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF4023
RGBrgb(175, 64, 35)
HSLhsl(12, 67%, 41%)
HSVhsv(12, 80%, 69%)
CMYKcmyk(0%, 63.4%, 80%, 31.4%)
CIE-LABlab(42.62, 43.82, 40.41)
CIE-LCHlch(42.62, 59.61, 42.68°)
OKLaboklab(52.2% 0.1232 0.0877)
OKLCHoklch(52.2% 0.151 35.5)
XYZxyz(19.8182, 12.9049, 3.0371)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4023 #2392AF
analogous
#AF234C #AF4023 #AF8623
triadic
#AF4023 #23AF40 #4023AF
tetradic
#AF4023 #4CAF23 #2392AF #8623AF
square
#AF4023 #4CAF23 #2392AF #8623AF
split-complementary
#AF4023 #23AF86 #234CAF
monochromatic
#491B0F #7C2D19 #AF4023 #D75938 #E1846B

Accessibility & contrast

On white

5.87
#AF4023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF4023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4023
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4023#FFFFFF#000000##FFFFFF
##AF40231.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551F
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#C1233A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af4023;
/* rgb */ color: rgb(175, 64, 35);
/* oklch */ color: oklch(52.2% 0.151 35.5);
Tailwind
colors: {
  custom: {
    50: '#cf7a60',
    500: '#af4023',
    950: '#000000',
  },
}
SCSS
$custom: #af4023;
$custom-light: #cf7a60;
$custom-dark: #000000;
JSON
{
  "hex": "#af4023",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 35
  },
  "hsl": {
    "h": 12.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.1512,
    "h": 35.5
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#AF4023
secondary
#66B3C7
accent
#C6EA3E
background
#FDF7F5
surface
#FBEEE9
border
#D4C9C5
text
#150905
muted
#837B79

Preview Lab

Preview with #AF4023

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

Preview Lab → · Contrast checker → · Palette generator →

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