#AF283C#AF283C

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

Color values

HEX#AF283C
RGBrgb(175, 40, 60)
HSLhsl(351, 63%, 42%)
HSVhsv(351, 77%, 69%)
CMYKcmyk(0%, 77.1%, 65.7%, 31.4%)
CIE-LABlab(39.51, 54.37, 22.34)
CIE-LCHlch(39.51, 58.79, 22.34°)
OKLaboklab(49.98% 0.1616 0.0532)
OKLCHoklch(49.98% 0.17 18.2)
XYZxyz(19.2557, 10.9607, 5.3758)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF283C #28AF9B
analogous
#AF2880 #AF283C #AF5728
triadic
#AF283C #3CAF28 #283CAF
tetradic
#AF283C #80AF28 #28AF9B #5728AF
square
#AF283C #80AF28 #28AF9B #5728AF
split-complementary
#AF283C #28AF57 #2880AF
monochromatic
#4B111A #7D1D2B #AF283C #D44156 #DF7383

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF283C#FFFFFF#000000##FFFFFF
##AF283C1.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)
#4F4B3C
Deuteranopia (green-blind)
#716738
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af283c;
/* rgb */ color: rgb(175, 40, 60);
/* oklch */ color: oklch(50.0% 0.170 18.2);
Tailwind
colors: {
  custom: {
    50: '#ce6e71',
    500: '#af283c',
    950: '#000000',
  },
}
SCSS
$custom: #af283c;
$custom-light: #ce6e71;
$custom-dark: #000000;
JSON
{
  "hex": "#af283c",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 60
  },
  "hsl": {
    "h": 351.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.1701,
    "h": 18.2
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF283C

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

Preview Lab → · Contrast checker → · Palette generator →

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