#AF2B25#AF2B25

#AF2B25 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.170 H 27.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AF2B25
RGBrgb(175, 43, 37)
HSLhsl(3, 65%, 42%)
HSVhsv(3, 79%, 69%)
CMYKcmyk(0%, 75.4%, 78.9%, 31.4%)
CIE-LABlab(39.54, 52.32, 36.21)
CIE-LCHlch(39.54, 63.63, 34.69°)
OKLaboklab(49.9% 0.15 0.0792)
OKLCHoklch(49.9% 0.17 27.8)
XYZxyz(18.8792, 10.9782, 2.8748)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B25 #25A9AF
analogous
#AF2564 #AF2B25 #AF7025
triadic
#AF2B25 #25AF2B #2B25AF
tetradic
#AF2B25 #64AF25 #25A9AF #7025AF
square
#AF2B25 #64AF25 #25A9AF #7025AF
split-complementary
#AF2B25 #25AF70 #2564AF
monochromatic
#4A1210 #7C1F1A #AF2B25 #D6423C #E0736E

Accessibility & contrast

On white

6.57
#AF2B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AF2B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B25
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B25#FFFFFF#000000##FFFFFF
##AF2B251.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B23
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2b25;
/* rgb */ color: rgb(175, 43, 37);
/* oklch */ color: oklch(49.9% 0.170 27.8);
Tailwind
colors: {
  custom: {
    50: '#d06f60',
    500: '#af2b25',
    950: '#000000',
  },
}
SCSS
$custom: #af2b25;
$custom-light: #d06f60;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b25",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 37
  },
  "hsl": {
    "h": 2.609,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49897,
    "c": 0.16963,
    "h": 27.8
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#AF2B25
secondary
#69C3C7
accent
#E1E840
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2B25

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

Preview Lab → · Contrast checker → · Palette generator →

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