#AF2832#AF2832

#AF2832 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.171 H 22.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AF2832
RGBrgb(175, 40, 50)
HSLhsl(356, 63%, 42%)
HSVhsv(356, 77%, 69%)
CMYKcmyk(0%, 77.1%, 71.4%, 31.4%)
CIE-LABlab(39.35, 53.85, 28.33)
CIE-LCHlch(39.35, 60.85, 27.75°)
OKLaboklab(49.81% 0.1577 0.0651)
OKLCHoklch(49.81% 0.171 22.4)
XYZxyz(19.0159, 10.8648, 4.1128)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2832 #28AFA5
analogous
#AF2875 #AF2832 #AF6228
triadic
#AF2832 #32AF28 #2832AF
tetradic
#AF2832 #75AF28 #28AFA5 #6228AF
square
#AF2832 #75AF28 #28AFA5 #6228AF
split-complementary
#AF2832 #28AF62 #2875AF
monochromatic
#4B1116 #7D1D24 #AF2832 #D4414C #DF737B

Accessibility & contrast

On white

6.62
#AF2832 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF2832 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2832
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2832#FFFFFF#000000##FFFFFF
##AF28321.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A31
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2832;
/* rgb */ color: rgb(175, 40, 50);
/* oklch */ color: oklch(49.8% 0.171 22.4);
Tailwind
colors: {
  custom: {
    50: '#cf6e6a',
    500: '#af2832',
    950: '#000000',
  },
}
SCSS
$custom: #af2832;
$custom-light: #cf6e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2832",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 50
  },
  "hsl": {
    "h": 355.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.17062,
    "h": 22.4
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#AF2832
secondary
#6DC6BF
accent
#E6DA42
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2832

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

Preview Lab → · Contrast checker → · Palette generator →

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