#AF2631#AF2631

#AF2631 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.172 H 22.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AF2631
RGBrgb(175, 38, 49)
HSLhsl(355, 64%, 42%)
HSVhsv(355, 78%, 69%)
CMYKcmyk(0%, 78.3%, 72%, 31.4%)
CIE-LABlab(39.11, 54.43, 28.66)
CIE-LCHlch(39.11, 61.51, 27.76°)
OKLaboklab(49.63% 0.1593 0.0657)
OKLCHoklch(49.63% 0.172 22.4)
XYZxyz(18.9289, 10.7249, 3.9786)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2631 #26AFA4
analogous
#AF2676 #AF2631 #AF5F26
triadic
#AF2631 #31AF26 #2631AF
tetradic
#AF2631 #76AF26 #26AFA4 #5F26AF
square
#AF2631 #76AF26 #26AFA4 #5F26AF
split-complementary
#AF2631 #26AF5F #2676AF
monochromatic
#4A1015 #7D1B23 #AF2631 #D53D49 #E07079

Accessibility & contrast

On white

6.68
#AF2631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AF2631 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2631
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2631#FFFFFF#000000##FFFFFF
##AF26311.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504930
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2631;
/* rgb */ color: rgb(175, 38, 49);
/* oklch */ color: oklch(49.6% 0.172 22.4);
Tailwind
colors: {
  custom: {
    50: '#cf6d69',
    500: '#af2631',
    950: '#000000',
  },
}
SCSS
$custom: #af2631;
$custom-light: #cf6d69;
$custom-dark: #000000;
JSON
{
  "hex": "#af2631",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 49
  },
  "hsl": {
    "h": 355.182,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49625,
    "c": 0.17233,
    "h": 22.4
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#AF2631
secondary
#6AC7BF
accent
#E7DA40
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2631

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

Preview Lab → · Contrast checker → · Palette generator →

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