#AF293B#AF293B

#AF293B is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 18.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AF293B
RGBrgb(175, 41, 59)
HSLhsl(352, 62%, 42%)
HSVhsv(352, 77%, 69%)
CMYKcmyk(0%, 76.6%, 66.3%, 31.4%)
CIE-LABlab(39.61, 53.99, 23.09)
CIE-LCHlch(39.61, 58.72, 23.15°)
OKLaboklab(50.05% 0.1601 0.0548)
OKLCHoklch(50.05% 0.169 18.9)
XYZxyz(19.2636, 11.0185, 5.2493)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF293B #29AF9D
analogous
#AF297E #AF293B #AF5A29
triadic
#AF293B #3BAF29 #293BAF
tetradic
#AF293B #7EAF29 #29AF9D #5A29AF
square
#AF293B #7EAF29 #29AF9D #5A29AF
split-complementary
#AF293B #29AF5A #297EAF
monochromatic
#4C121A #7D1D2A #AF293B #D34256 #DE7482

Accessibility & contrast

On white

6.56
#AF293B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AF293B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF293B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF293B#FFFFFF#000000##FFFFFF
##AF293B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B3B
Deuteranopia (green-blind)
#716837
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af293b;
/* rgb */ color: rgb(175, 41, 59);
/* oklch */ color: oklch(50.0% 0.169 18.9);
Tailwind
colors: {
  custom: {
    50: '#ce6f70',
    500: '#af293b',
    950: '#000000',
  },
}
SCSS
$custom: #af293b;
$custom-light: #ce6f70;
$custom-dark: #000000;
JSON
{
  "hex": "#af293b",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 59
  },
  "hsl": {
    "h": 351.94,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50046,
    "c": 0.16925,
    "h": 18.9
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#AF293B
secondary
#6EC6BA
accent
#E5CF43
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF293B

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

Preview Lab → · Contrast checker → · Palette generator →

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