#AF2B2E#AF2B2E

#AF2B2E is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.168 H 24.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AF2B2E
RGBrgb(175, 43, 46)
HSLhsl(359, 61%, 43%)
HSVhsv(359, 75%, 69%)
CMYKcmyk(0%, 75.4%, 73.7%, 31.4%)
CIE-LABlab(39.65, 52.68, 31.09)
CIE-LCHlch(39.65, 61.17, 30.55°)
OKLaboklab(50.01% 0.1531 0.0704)
OKLCHoklch(50.01% 0.168 24.7)
XYZxyz(19.0384, 11.0419, 3.7131)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B2E #2BAFAC
analogous
#AF2B70 #AF2B2E #AF6A2B
triadic
#AF2B2E #2EAF2B #2B2EAF
tetradic
#AF2B2E #70AF2B #2BAFAC #6A2BAF
square
#AF2B2E #70AF2B #2BAFAC #6A2BAF
split-complementary
#AF2B2E #2BAF6A #2B70AF
monochromatic
#4D1314 #7E1F21 #AF2B2E #D14649 #DE7779

Accessibility & contrast

On white

6.55
#AF2B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2B2E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B2E#FFFFFF#000000##FFFFFF
##AF2B2E1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2D
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2b2e;
/* rgb */ color: rgb(175, 43, 46);
/* oklch */ color: oklch(50.0% 0.168 24.7);
Tailwind
colors: {
  custom: {
    50: '#cf6f67',
    500: '#af2b2e',
    950: '#000000',
  },
}
SCSS
$custom: #af2b2e;
$custom-light: #cf6f67;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b2e",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 46
  },
  "hsl": {
    "h": 358.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.16848,
    "h": 24.7
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#AF2B2E
secondary
#70C5C3
accent
#E4E044
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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