#AF302F#AF302F

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

Color values

HEX#AF302F
RGBrgb(175, 48, 47)
HSLhsl(0, 58%, 44%)
HSVhsv(0, 73%, 69%)
CMYKcmyk(0%, 72.6%, 73.1%, 31.4%)
CIE-LABlab(40.31, 50.94, 31.25)
CIE-LCHlch(40.31, 59.76, 31.53°)
OKLaboklab(50.5% 0.1478 0.0709)
OKLCHoklch(50.5% 0.164 25.6)
XYZxyz(19.2514, 11.4360, 3.8825)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF302F #2FAEAF
analogous
#AF2F6E #AF302F #AF702F
triadic
#AF302F #2FAF30 #302FAF
tetradic
#AF302F #6EAF2F #2FAEAF #702FAF
square
#AF302F #6EAF2F #2FAEAF #702FAF
split-complementary
#AF302F #2FAF70 #2F6EAF
monochromatic
#4F1615 #7F2322 #AF302F #CF4D4C #DC7D7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF302F#FFFFFF#000000##FFFFFF
##AF302F1.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)
#554D2E
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af302f;
/* rgb */ color: rgb(175, 48, 47);
/* oklch */ color: oklch(50.5% 0.164 25.6);
Tailwind
colors: {
  custom: {
    50: '#cf7268',
    500: '#af302f',
    950: '#000000',
  },
}
SCSS
$custom: #af302f;
$custom-light: #cf7268;
$custom-dark: #000000;
JSON
{
  "hex": "#af302f",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 0.469,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.16395,
    "h": 25.6
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#AF302F
secondary
#75C4C4
accent
#E0E147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF302F

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

Preview Lab → · Contrast checker → · Palette generator →

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