#AF2B38#AF2B38

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

Color values

HEX#AF2B38
RGBrgb(175, 43, 56)
HSLhsl(354, 61%, 43%)
HSVhsv(354, 75%, 69%)
CMYKcmyk(0%, 75.4%, 68%, 31.4%)
CIE-LABlab(39.80, 53.16, 25.19)
CIE-LCHlch(39.80, 58.83, 25.35°)
OKLaboklab(50.17% 0.1568 0.0591)
OKLCHoklch(50.17% 0.168 20.7)
XYZxyz(19.2590, 11.1301, 4.8749)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B38 #2BAFA2
analogous
#AF2B7A #AF2B38 #AF602B
triadic
#AF2B38 #38AF2B #2B38AF
tetradic
#AF2B38 #7AAF2B #2BAFA2 #602BAF
square
#AF2B38 #7AAF2B #2BAFA2 #602BAF
split-complementary
#AF2B38 #2BAF60 #2B7AAF
monochromatic
#4D1319 #7E1F28 #AF2B38 #D14653 #DE7781

Accessibility & contrast

On white

6.51
#AF2B38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2B38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B38
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B38#FFFFFF#000000##FFFFFF
##AF2B381.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C37
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2b38;
/* rgb */ color: rgb(175, 43, 56);
/* oklch */ color: oklch(50.2% 0.168 20.7);
Tailwind
colors: {
  custom: {
    50: '#cf6f6e',
    500: '#af2b38',
    950: '#000000',
  },
}
SCSS
$custom: #af2b38;
$custom-light: #cf6f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b38",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 56
  },
  "hsl": {
    "h": 354.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50169,
    "c": 0.16761,
    "h": 20.7
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#AF2B38
secondary
#70C5BD
accent
#E4D444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2B38

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

Preview Lab → · Contrast checker → · Palette generator →

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