#AF2823#AF2823

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

Color values

HEX#AF2823
RGBrgb(175, 40, 35)
HSLhsl(2, 67%, 41%)
HSVhsv(2, 80%, 69%)
CMYKcmyk(0%, 77.1%, 80%, 31.4%)
CIE-LABlab(39.17, 53.25, 36.94)
CIE-LCHlch(39.17, 64.81, 34.75°)
OKLaboklab(49.61% 0.1525 0.0801)
OKLCHoklch(49.61% 0.172 27.7)
XYZxyz(18.7436, 10.7559, 2.6790)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2823 #23AAAF
analogous
#AF2364 #AF2823 #AF6E23
triadic
#AF2823 #23AF28 #2823AF
tetradic
#AF2823 #64AF23 #23AAAF #6E23AF
square
#AF2823 #64AF23 #23AAAF #6E23AF
split-complementary
#AF2823 #23AF6E #2364AF
monochromatic
#49110F #7C1C19 #AF2823 #D73E38 #E16F6B

Accessibility & contrast

On white

6.67
#AF2823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2823
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2823#FFFFFF#000000##FFFFFF
##AF28231.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524921
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2823;
/* rgb */ color: rgb(175, 40, 35);
/* oklch */ color: oklch(49.6% 0.172 27.7);
Tailwind
colors: {
  custom: {
    50: '#d06e5f',
    500: '#af2823',
    950: '#000000',
  },
}
SCSS
$custom: #af2823;
$custom-light: #d06e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2823",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 35
  },
  "hsl": {
    "h": 2.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.17229,
    "h": 27.7
  },
  "luminance": 0.10753
}

Semantic roles & 50–950 ramp

primary
#AF2823
secondary
#66C4C7
accent
#E3EA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2823

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

Preview Lab → · Contrast checker → · Palette generator →

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