#AF2327#AF2327

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

Color values

HEX#AF2327
RGBrgb(175, 35, 39)
HSLhsl(358, 67%, 41%)
HSVhsv(358, 80%, 69%)
CMYKcmyk(0%, 80%, 77.7%, 31.4%)
CIE-LABlab(38.67, 54.91, 34.13)
CIE-LCHlch(38.67, 64.66, 31.86°)
OKLaboklab(49.25% 0.1586 0.0752)
OKLCHoklch(49.25% 0.176 25.4)
XYZxyz(18.6487, 10.4655, 2.9572)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2327 #23AFAB
analogous
#AF236D #AF2327 #AF6523
triadic
#AF2327 #27AF23 #2327AF
tetradic
#AF2327 #6DAF23 #23AFAB #6523AF
square
#AF2327 #6DAF23 #23AFAB #6523AF
split-complementary
#AF2327 #23AF65 #236DAF
monochromatic
#490F10 #7C191C #AF2327 #D7383D #E16B6E

Accessibility & contrast

On white

6.79
#AF2327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AF2327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2327
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2327#FFFFFF#000000##FFFFFF
##AF23271.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4825
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#C10026
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2327;
/* rgb */ color: rgb(175, 35, 39);
/* oklch */ color: oklch(49.3% 0.176 25.4);
Tailwind
colors: {
  custom: {
    50: '#d06c61',
    500: '#af2327',
    950: '#000000',
  },
}
SCSS
$custom: #af2327;
$custom-light: #d06c61;
$custom-dark: #000000;
JSON
{
  "hex": "#af2327",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 39
  },
  "hsl": {
    "h": 358.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49251,
    "c": 0.17557,
    "h": 25.4
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#AF2327
secondary
#66C7C5
accent
#EAE53E
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2327

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

Preview Lab → · Contrast checker → · Palette generator →

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