#AF2B36#AF2B36

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

Color values

HEX#AF2B36
RGBrgb(175, 43, 54)
HSLhsl(355, 61%, 43%)
HSVhsv(355, 75%, 69%)
CMYKcmyk(0%, 75.4%, 69.1%, 31.4%)
CIE-LABlab(39.77, 53.06, 26.38)
CIE-LCHlch(39.77, 59.25, 26.44°)
OKLaboklab(50.14% 0.1561 0.0615)
OKLCHoklch(50.14% 0.168 21.5)
XYZxyz(19.2111, 11.1110, 4.6224)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B36 #2BAFA4
analogous
#AF2B78 #AF2B36 #AF622B
triadic
#AF2B36 #36AF2B #2B36AF
tetradic
#AF2B36 #78AF2B #2BAFA4 #622BAF
square
#AF2B36 #78AF2B #2BAFA4 #622BAF
split-complementary
#AF2B36 #2BAF62 #2B78AF
monochromatic
#4D1318 #7E1F27 #AF2B36 #D14651 #DE777F

Accessibility & contrast

On white

6.52
#AF2B36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2B36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B36
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B36#FFFFFF#000000##FFFFFF
##AF2B361.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C35
Deuteranopia (green-blind)
#726832
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2b36;
/* rgb */ color: rgb(175, 43, 54);
/* oklch */ color: oklch(50.1% 0.168 21.5);
Tailwind
colors: {
  custom: {
    50: '#cf6f6d',
    500: '#af2b36',
    950: '#000000',
  },
}
SCSS
$custom: #af2b36;
$custom-light: #cf6f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b36",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 54
  },
  "hsl": {
    "h": 355,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.16774,
    "h": 21.5
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#AF2B36
secondary
#70C5BE
accent
#E4D644
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2B36

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

Preview Lab → · Contrast checker → · Palette generator →

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