#AF2431#AF2431

#AF2431 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.174 H 22.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AF2431
RGBrgb(175, 36, 49)
HSLhsl(354, 66%, 41%)
HSVhsv(354, 79%, 69%)
CMYKcmyk(0%, 79.4%, 72%, 31.4%)
CIE-LABlab(38.90, 55.03, 28.40)
CIE-LCHlch(38.90, 61.93, 27.30°)
OKLaboklab(49.47% 0.1613 0.0651)
OKLCHoklch(49.47% 0.174 22)
XYZxyz(18.8666, 10.6004, 3.9578)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2431 #24AFA2
analogous
#AF2477 #AF2431 #AF5C24
triadic
#AF2431 #31AF24 #2431AF
tetradic
#AF2431 #77AF24 #24AFA2 #5C24AF
square
#AF2431 #77AF24 #24AFA2 #5C24AF
split-complementary
#AF2431 #24AF5C #2477AF
monochromatic
#490F15 #7C1A23 #AF2431 #D63A48 #E16D77

Accessibility & contrast

On white

6.73
#AF2431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AF2431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2431
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2431#FFFFFF#000000##FFFFFF
##AF24311.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4930
Deuteranopia (green-blind)
#71662C
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2431;
/* rgb */ color: rgb(175, 36, 49);
/* oklch */ color: oklch(49.5% 0.174 22.0);
Tailwind
colors: {
  custom: {
    50: '#cf6c69',
    500: '#af2431',
    950: '#000000',
  },
}
SCSS
$custom: #af2431;
$custom-light: #cf6c69;
$custom-dark: #000000;
JSON
{
  "hex": "#af2431",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 49
  },
  "hsl": {
    "h": 354.388,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49466,
    "c": 0.1739,
    "h": 22
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#AF2431
secondary
#68C7BE
accent
#E9D93F
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2431

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

Preview Lab → · Contrast checker → · Palette generator →

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