#AF283B#AF283B

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

Color values

HEX#AF283B
RGBrgb(175, 40, 59)
HSLhsl(352, 63%, 42%)
HSVhsv(352, 77%, 69%)
CMYKcmyk(0%, 77.1%, 66.3%, 31.4%)
CIE-LABlab(39.50, 54.32, 22.95)
CIE-LCHlch(39.50, 58.96, 22.90°)
OKLaboklab(49.96% 0.1612 0.0545)
OKLCHoklch(49.96% 0.17 18.7)
XYZxyz(19.2295, 10.9502, 5.2379)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF283B #28AF9C
analogous
#AF287E #AF283B #AF5928
triadic
#AF283B #3BAF28 #283BAF
tetradic
#AF283B #7EAF28 #28AF9C #5928AF
square
#AF283B #7EAF28 #28AF9C #5928AF
split-complementary
#AF283B #28AF59 #287EAF
monochromatic
#4B1119 #7D1D2A #AF283B #D44155 #DF7382

Accessibility & contrast

On white

6.58
#AF283B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF283B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF283B#FFFFFF#000000##FFFFFF
##AF283B1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af283b;
/* rgb */ color: rgb(175, 40, 59);
/* oklch */ color: oklch(50.0% 0.170 18.7);
Tailwind
colors: {
  custom: {
    50: '#cf6e70',
    500: '#af283b',
    950: '#000000',
  },
}
SCSS
$custom: #af283b;
$custom-light: #cf6e70;
$custom-dark: #000000;
JSON
{
  "hex": "#af283b",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 59
  },
  "hsl": {
    "h": 351.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49961,
    "c": 0.17012,
    "h": 18.7
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

primary
#AF283B
secondary
#6DC6B9
accent
#E6CF42
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF283B

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

Preview Lab → · Contrast checker → · Palette generator →

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