#AF2932#AF2932

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

Color values

HEX#AF2932
RGBrgb(175, 41, 50)
HSLhsl(356, 62%, 42%)
HSVhsv(356, 77%, 69%)
CMYKcmyk(0%, 76.6%, 71.4%, 31.4%)
CIE-LABlab(39.47, 53.53, 28.47)
CIE-LCHlch(39.47, 60.62, 28.01°)
OKLaboklab(49.89% 0.1567 0.0654)
OKLCHoklch(49.89% 0.17 22.7)
XYZxyz(19.0500, 10.9331, 4.1242)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2932 #29AFA6
analogous
#AF2975 #AF2932 #AF6329
triadic
#AF2932 #32AF29 #2932AF
tetradic
#AF2932 #75AF29 #29AFA6 #6329AF
square
#AF2932 #75AF29 #29AFA6 #6329AF
split-complementary
#AF2932 #29AF63 #2975AF
monochromatic
#4C1216 #7D1D24 #AF2932 #D3424C #DE747B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2932#FFFFFF#000000##FFFFFF
##AF29321.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)
#514B31
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2932;
/* rgb */ color: rgb(175, 41, 50);
/* oklch */ color: oklch(49.9% 0.170 22.7);
Tailwind
colors: {
  custom: {
    50: '#cf6e6a',
    500: '#af2932',
    950: '#000000',
  },
}
SCSS
$custom: #af2932;
$custom-light: #cf6e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2932",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 50
  },
  "hsl": {
    "h": 355.97,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49893,
    "c": 0.16978,
    "h": 22.7
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#AF2932
secondary
#6EC6C0
accent
#E5DA43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2932

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

Preview Lab → · Contrast checker → · Palette generator →

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