#AF283A#AF283A

#AF283A is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 19.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AF283A
RGBrgb(175, 40, 58)
HSLhsl(352, 63%, 42%)
HSVhsv(352, 77%, 69%)
CMYKcmyk(0%, 77.1%, 66.9%, 31.4%)
CIE-LABlab(39.48, 54.26, 23.55)
CIE-LCHlch(39.48, 59.15, 23.46°)
OKLaboklab(49.94% 0.1608 0.0557)
OKLCHoklch(49.94% 0.17 19.1)
XYZxyz(19.2038, 10.9399, 5.1026)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF283A #28AF9D
analogous
#AF287E #AF283A #AF5A28
triadic
#AF283A #3AAF28 #283AAF
tetradic
#AF283A #7EAF28 #28AF9D #5A28AF
square
#AF283A #7EAF28 #28AF9D #5A28AF
split-complementary
#AF283A #28AF5A #287EAF
monochromatic
#4B1119 #7D1D29 #AF283A #D44154 #DF7381

Accessibility & contrast

On white

6.59
#AF283A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AF283A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF283A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF283A#FFFFFF#000000##FFFFFF
##AF283A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4B3A
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af283a;
/* rgb */ color: rgb(175, 40, 58);
/* oklch */ color: oklch(49.9% 0.170 19.1);
Tailwind
colors: {
  custom: {
    50: '#cf6e70',
    500: '#af283a',
    950: '#000000',
  },
}
SCSS
$custom: #af283a;
$custom-light: #cf6e70;
$custom-dark: #000000;
JSON
{
  "hex": "#af283a",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 58
  },
  "hsl": {
    "h": 352,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49942,
    "c": 0.17015,
    "h": 19.1
  },
  "luminance": 0.10937
}

Semantic roles & 50–950 ramp

primary
#AF283A
secondary
#6DC6BA
accent
#E6D042
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF283A

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

Preview Lab → · Contrast checker → · Palette generator →

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