#AF2E30#AF2E30

#AF2E30 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 24.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AF2E30
RGBrgb(175, 46, 48)
HSLhsl(359, 58%, 43%)
HSVhsv(359, 74%, 69%)
CMYKcmyk(0%, 73.7%, 72.6%, 31.4%)
CIE-LABlab(40.06, 51.72, 30.36)
CIE-LCHlch(40.06, 59.97, 30.42°)
OKLaboklab(50.32% 0.1505 0.0692)
OKLCHoklch(50.32% 0.166 24.7)
XYZxyz(19.1919, 11.2843, 3.9633)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E30 #2EAFAD
analogous
#AF2E70 #AF2E30 #AF6C2E
triadic
#AF2E30 #30AF2E #2E30AF
tetradic
#AF2E30 #70AF2E #2EAFAD #6C2EAF
square
#AF2E30 #70AF2E #2EAFAD #6C2EAF
split-complementary
#AF2E30 #2EAF6C #2E70AF
monochromatic
#4E1515 #7F2123 #AF2E30 #D04B4D #DC7B7D

Accessibility & contrast

On white

6.45
#AF2E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E30
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E30#FFFFFF#000000##FFFFFF
##AF2E301.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e30;
/* rgb */ color: rgb(175, 46, 48);
/* oklch */ color: oklch(50.3% 0.166 24.7);
Tailwind
colors: {
  custom: {
    50: '#cf7168',
    500: '#af2e30',
    950: '#000000',
  },
}
SCSS
$custom: #af2e30;
$custom-light: #cf7168;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e30",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 48
  },
  "hsl": {
    "h": 359.07,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.16563,
    "h": 24.7
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#AF2E30
secondary
#74C5C3
accent
#E2DF46
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2E30

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

Preview Lab → · Contrast checker → · Palette generator →

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