#AF283D#AF283D

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

Color values

HEX#AF283D
RGBrgb(175, 40, 61)
HSLhsl(351, 63%, 42%)
HSVhsv(351, 77%, 69%)
CMYKcmyk(0%, 77.1%, 65.1%, 31.4%)
CIE-LABlab(39.53, 54.43, 21.74)
CIE-LCHlch(39.53, 58.61, 21.77°)
OKLaboklab(50% 0.162 0.052)
OKLCHoklch(50% 0.17 17.8)
XYZxyz(19.2824, 10.9714, 5.5163)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF283D #28AF9A
analogous
#AF2880 #AF283D #AF5728
triadic
#AF283D #3DAF28 #283DAF
tetradic
#AF283D #80AF28 #28AF9A #5728AF
square
#AF283D #80AF28 #28AF9A #5728AF
split-complementary
#AF283D #28AF57 #2880AF
monochromatic
#4B111A #7D1D2C #AF283D #D44158 #DF7383

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF283D#FFFFFF#000000##FFFFFF
##AF283D1.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)
#4F4B3D
Deuteranopia (green-blind)
#716739
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af283d;
/* rgb */ color: rgb(175, 40, 61);
/* oklch */ color: oklch(50.0% 0.170 17.8);
Tailwind
colors: {
  custom: {
    50: '#ce6e72',
    500: '#af283d',
    950: '#000000',
  },
}
SCSS
$custom: #af283d;
$custom-light: #ce6e72;
$custom-dark: #000000;
JSON
{
  "hex": "#af283d",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 61
  },
  "hsl": {
    "h": 350.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49999,
    "c": 0.17008,
    "h": 17.8
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#AF283D
secondary
#6DC6B8
accent
#E6CC42
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF283D

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

Preview Lab → · Contrast checker → · Palette generator →

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