#AF2E3B#AF2E3B

#AF2E3B is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.165 H 20.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF2E3B
RGBrgb(175, 46, 59)
HSLhsl(354, 58%, 43%)
HSVhsv(354, 74%, 69%)
CMYKcmyk(0%, 73.7%, 66.3%, 31.4%)
CIE-LABlab(40.22, 52.29, 23.86)
CIE-LCHlch(40.22, 57.48, 24.53°)
OKLaboklab(50.5% 0.1547 0.0566)
OKLCHoklch(50.5% 0.165 20.1)
XYZxyz(19.4477, 11.3866, 5.3106)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E3B #2EAFA2
analogous
#AF2E7C #AF2E3B #AF612E
triadic
#AF2E3B #3BAF2E #2E3BAF
tetradic
#AF2E3B #7CAF2E #2EAFA2 #612EAF
square
#AF2E3B #7CAF2E #2EAFA2 #612EAF
split-complementary
#AF2E3B #2EAF61 #2E7CAF
monochromatic
#4E151A #7F212B #AF2E3B #D04B58 #DC7B85

Accessibility & contrast

On white

6.41
#AF2E3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF2E3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E3B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E3B#FFFFFF#000000##FFFFFF
##AF2E3B1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524D3B
Deuteranopia (green-blind)
#736937
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e3b;
/* rgb */ color: rgb(175, 46, 59);
/* oklch */ color: oklch(50.5% 0.165 20.1);
Tailwind
colors: {
  custom: {
    50: '#ce7170',
    500: '#af2e3b',
    950: '#000000',
  },
}
SCSS
$custom: #af2e3b;
$custom-light: #ce7170;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e3b",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 59
  },
  "hsl": {
    "h": 353.953,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.16468,
    "h": 20.1
  },
  "luminance": 0.11384
}

Semantic roles & 50–950 ramp

primary
#AF2E3B
secondary
#74C5BD
accent
#E2D246
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2E3B

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

Preview Lab → · Contrast checker → · Palette generator →

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