#AF293F#AF293F

#AF293F is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.169 H 17.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF293F
RGBrgb(175, 41, 63)
HSLhsl(350, 62%, 42%)
HSVhsv(350, 77%, 69%)
CMYKcmyk(0%, 76.6%, 64%, 31.4%)
CIE-LABlab(39.68, 54.23, 20.68)
CIE-LCHlch(39.68, 58.04, 20.88°)
OKLaboklab(50.12% 0.1617 0.0498)
OKLCHoklch(50.12% 0.169 17.1)
XYZxyz(19.3714, 11.0616, 5.8168)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF293F #29AF99
analogous
#AF2982 #AF293F #AF5629
triadic
#AF293F #3FAF29 #293FAF
tetradic
#AF293F #82AF29 #29AF99 #5629AF
square
#AF293F #82AF29 #29AF99 #5629AF
split-complementary
#AF293F #29AF56 #2982AF
monochromatic
#4C121B #7D1D2D #AF293F #D3425A #DE7485

Accessibility & contrast

On white

6.54
#AF293F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF293F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF293F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF293F#FFFFFF#000000##FFFFFF
##AF293F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C3F
Deuteranopia (green-blind)
#71683B
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af293f;
/* rgb */ color: rgb(175, 41, 63);
/* oklch */ color: oklch(50.1% 0.169 17.1);
Tailwind
colors: {
  custom: {
    50: '#ce6f73',
    500: '#af293f',
    950: '#000000',
  },
}
SCSS
$custom: #af293f;
$custom-light: #ce6f73;
$custom-dark: #000000;
JSON
{
  "hex": "#af293f",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 350.149,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50123,
    "c": 0.16919,
    "h": 17.1
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#AF293F
secondary
#6EC6B7
accent
#E5CA43
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF293F

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

Preview Lab → · Contrast checker → · Palette generator →

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