#AF2825#AF2825

#AF2825 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.6% C 0.172 H 27.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AF2825
RGBrgb(175, 40, 37)
HSLhsl(1, 65%, 42%)
HSVhsv(1, 79%, 69%)
CMYKcmyk(0%, 77.1%, 78.9%, 31.4%)
CIE-LABlab(39.19, 53.32, 35.84)
CIE-LCHlch(39.19, 64.24, 33.91°)
OKLaboklab(49.63% 0.1532 0.0784)
OKLCHoklch(49.63% 0.172 27.1)
XYZxyz(18.7742, 10.7681, 2.8398)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2825 #25ACAF
analogous
#AF2567 #AF2825 #AF6D25
triadic
#AF2825 #25AF28 #2825AF
tetradic
#AF2825 #67AF25 #25ACAF #6D25AF
square
#AF2825 #67AF25 #25ACAF #6D25AF
split-complementary
#AF2825 #25AF6D #2567AF
monochromatic
#4A1110 #7C1C1A #AF2825 #D63F3C #E0716E

Accessibility & contrast

On white

6.66
#AF2825 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AF2825 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2825
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2825#FFFFFF#000000##FFFFFF
##AF28251.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A23
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2825;
/* rgb */ color: rgb(175, 40, 37);
/* oklch */ color: oklch(49.6% 0.172 27.1);
Tailwind
colors: {
  custom: {
    50: '#d06e60',
    500: '#af2825',
    950: '#000000',
  },
}
SCSS
$custom: #af2825;
$custom-light: #d06e60;
$custom-dark: #000000;
JSON
{
  "hex": "#af2825",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 37
  },
  "hsl": {
    "h": 1.304,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.17203,
    "h": 27.1
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#AF2825
secondary
#69C5C7
accent
#E4E840
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2825

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

Preview Lab → · Contrast checker → · Palette generator →

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