#AF2B37#AF2B37

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

Color values

HEX#AF2B37
RGBrgb(175, 43, 55)
HSLhsl(355, 61%, 43%)
HSVhsv(355, 75%, 69%)
CMYKcmyk(0%, 75.4%, 68.6%, 31.4%)
CIE-LABlab(39.78, 53.11, 25.78)
CIE-LCHlch(39.78, 59.04, 25.90°)
OKLaboklab(50.15% 0.1564 0.0603)
OKLCHoklch(50.15% 0.168 21.1)
XYZxyz(19.2348, 11.1205, 4.7473)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B37 #2BAFA3
analogous
#AF2B79 #AF2B37 #AF612B
triadic
#AF2B37 #37AF2B #2B37AF
tetradic
#AF2B37 #79AF2B #2BAFA3 #612BAF
square
#AF2B37 #79AF2B #2BAFA3 #612BAF
split-complementary
#AF2B37 #2BAF61 #2B79AF
monochromatic
#4D1318 #7E1F28 #AF2B37 #D14652 #DE7780

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2B37#FFFFFF#000000##FFFFFF
##AF2B371.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2b37;
/* rgb */ color: rgb(175, 43, 55);
/* oklch */ color: oklch(50.2% 0.168 21.1);
Tailwind
colors: {
  custom: {
    50: '#cf6f6d',
    500: '#af2b37',
    950: '#000000',
  },
}
SCSS
$custom: #af2b37;
$custom-light: #cf6f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b37",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 55
  },
  "hsl": {
    "h": 354.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.16767,
    "h": 21.1
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2B37

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

Preview Lab → · Contrast checker → · Palette generator →

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