#AF302E#AF302E

#AF302E is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 26.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF302E
RGBrgb(175, 48, 46)
HSLhsl(1, 58%, 43%)
HSVhsv(1, 74%, 69%)
CMYKcmyk(0%, 72.6%, 73.7%, 31.4%)
CIE-LABlab(40.29, 50.90, 31.83)
CIE-LCHlch(40.29, 60.03, 32.02°)
OKLaboklab(50.49% 0.1475 0.072)
OKLCHoklch(50.49% 0.164 26)
XYZxyz(19.2315, 11.4280, 3.7774)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF302E #2EADAF
analogous
#AF2E6C #AF302E #AF702E
triadic
#AF302E #2EAF30 #302EAF
tetradic
#AF302E #6CAF2E #2EADAF #702EAF
square
#AF302E #6CAF2E #2EADAF #702EAF
split-complementary
#AF302E #2EAF70 #2E6CAF
monochromatic
#4E1515 #7F2321 #AF302E #D04D4B #DC7D7B

Accessibility & contrast

On white

6.39
#AF302E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF302E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF302E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF302E#FFFFFF#000000##FFFFFF
##AF302E1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2C
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af302e;
/* rgb */ color: rgb(175, 48, 46);
/* oklch */ color: oklch(50.5% 0.164 26.0);
Tailwind
colors: {
  custom: {
    50: '#cf7267',
    500: '#af302e',
    950: '#000000',
  },
}
SCSS
$custom: #af302e;
$custom-light: #cf7267;
$custom-dark: #000000;
JSON
{
  "hex": "#af302e",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 46
  },
  "hsl": {
    "h": 0.93,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.16408,
    "h": 26
  },
  "luminance": 0.11425
}

Semantic roles & 50–950 ramp

primary
#AF302E
secondary
#74C3C5
accent
#DFE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF302E

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

Preview Lab → · Contrast checker → · Palette generator →

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