#AF251E#AF251E

#AF251E is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.175 H 28.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AF251E
RGBrgb(175, 37, 30)
HSLhsl(3, 71%, 40%)
HSVhsv(3, 83%, 69%)
CMYKcmyk(0%, 78.9%, 82.9%, 31.4%)
CIE-LABlab(38.78, 54.03, 39.30)
CIE-LCHlch(38.78, 66.82, 36.03°)
OKLaboklab(49.31% 0.154 0.0835)
OKLCHoklch(49.31% 0.175 28.5)
XYZxyz(18.5774, 10.5338, 2.2831)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF251E #1EA8AF
analogous
#AF1E5F #AF251E #AF6E1E
triadic
#AF251E #1EAF25 #251EAF
tetradic
#AF251E #5FAF1E #1EA8AF #6E1EAF
square
#AF251E #5FAF1E #1EA8AF #6E1EAF
split-complementary
#AF251E #1EAF6E #1E5FAF
monochromatic
#470F0C #7B1A15 #AF251E #DB372F #E46963

Accessibility & contrast

On white

6.76
#AF251E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF251E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF251E#FFFFFF#000000##FFFFFF
##AF251E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481B
Deuteranopia (green-blind)
#736617
Tritanopia (blue-blind)
#C10025
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af251e;
/* rgb */ color: rgb(175, 37, 30);
/* oklch */ color: oklch(49.3% 0.175 28.5);
Tailwind
colors: {
  custom: {
    50: '#d16c5b',
    500: '#af251e',
    950: '#000000',
  },
}
SCSS
$custom: #af251e;
$custom-light: #d16c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#af251e",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 30
  },
  "hsl": {
    "h": 2.897,
    "s": 70.732,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4931,
    "c": 0.17519,
    "h": 28.5
  },
  "luminance": 0.10531
}

Semantic roles & 50–950 ramp

primary
#AF251E
secondary
#60C4C9
accent
#E5ED3A
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AF251E

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

Preview Lab → · Contrast checker → · Palette generator →

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