#AF2522#AF2522

#AF2522 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.175 H 27.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AF2522
RGBrgb(175, 37, 34)
HSLhsl(1, 67%, 41%)
HSVhsv(1, 81%, 69%)
CMYKcmyk(0%, 78.9%, 80.6%, 31.4%)
CIE-LABlab(38.82, 54.15, 37.15)
CIE-LCHlch(38.82, 65.67, 34.45°)
OKLaboklab(49.35% 0.1552 0.0803)
OKLCHoklch(49.35% 0.175 27.4)
XYZxyz(18.6318, 10.5556, 2.5695)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2522 #22ACAF
analogous
#AF2265 #AF2522 #AF6B22
triadic
#AF2522 #22AF25 #2522AF
tetradic
#AF2522 #65AF22 #22ACAF #6B22AF
square
#AF2522 #65AF22 #22ACAF #6B22AF
split-complementary
#AF2522 #22AF6B #2265AF
monochromatic
#490F0E #7C1A18 #AF2522 #D83A36 #E26C69

Accessibility & contrast

On white

6.75
#AF2522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AF2522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2522
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2522#FFFFFF#000000##FFFFFF
##AF25221.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514820
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#C10026
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2522;
/* rgb */ color: rgb(175, 37, 34);
/* oklch */ color: oklch(49.4% 0.175 27.4);
Tailwind
colors: {
  custom: {
    50: '#d06d5e',
    500: '#af2522',
    950: '#000000',
  },
}
SCSS
$custom: #af2522;
$custom-light: #d06d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2522",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 34
  },
  "hsl": {
    "h": 1.277,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4935,
    "c": 0.17469,
    "h": 27.4
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#AF2522
secondary
#65C6C8
accent
#E7EA3D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AF2522

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

Preview Lab → · Contrast checker → · Palette generator →

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