#AF2B31#AF2B31

#AF2B31 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 23.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF2B31
RGBrgb(175, 43, 49)
HSLhsl(357, 61%, 43%)
HSVhsv(357, 75%, 69%)
CMYKcmyk(0%, 75.4%, 72%, 31.4%)
CIE-LABlab(39.69, 52.81, 29.34)
CIE-LCHlch(39.69, 60.41, 29.05°)
OKLaboklab(50.06% 0.1542 0.0672)
OKLCHoklch(50.06% 0.168 23.5)
XYZxyz(19.0996, 11.0664, 4.0355)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B31 #2BAFA9
analogous
#AF2B73 #AF2B31 #AF672B
triadic
#AF2B31 #31AF2B #2B31AF
tetradic
#AF2B31 #73AF2B #2BAFA9 #672BAF
square
#AF2B31 #73AF2B #2BAFA9 #672BAF
split-complementary
#AF2B31 #2BAF67 #2B73AF
monochromatic
#4D1315 #7E1F23 #AF2B31 #D1464C #DE777C

Accessibility & contrast

On white

6.54
#AF2B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B31
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B31#FFFFFF#000000##FFFFFF
##AF2B311.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B30
Deuteranopia (green-blind)
#73682D
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2b31;
/* rgb */ color: rgb(175, 43, 49);
/* oklch */ color: oklch(50.1% 0.168 23.5);
Tailwind
colors: {
  custom: {
    50: '#cf6f69',
    500: '#af2b31',
    950: '#000000',
  },
}
SCSS
$custom: #af2b31;
$custom-light: #cf6f69;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b31",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 49
  },
  "hsl": {
    "h": 357.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50055,
    "c": 0.16816,
    "h": 23.5
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#AF2B31
secondary
#70C5C1
accent
#E4DC44
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2B31

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

Preview Lab → · Contrast checker → · Palette generator →

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