#AF2328#AF2328

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

Color values

HEX#AF2328
RGBrgb(175, 35, 40)
HSLhsl(358, 67%, 41%)
HSVhsv(358, 80%, 69%)
CMYKcmyk(0%, 80%, 77.1%, 31.4%)
CIE-LABlab(38.68, 54.95, 33.56)
CIE-LCHlch(38.68, 64.39, 31.41°)
OKLaboklab(49.26% 0.159 0.0743)
OKLCHoklch(49.26% 0.175 25)
XYZxyz(18.6655, 10.4722, 3.0456)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2328 #23AFAA
analogous
#AF236E #AF2328 #AF6423
triadic
#AF2328 #28AF23 #2328AF
tetradic
#AF2328 #6EAF23 #23AFAA #6423AF
square
#AF2328 #6EAF23 #23AFAA #6423AF
split-complementary
#AF2328 #23AF64 #236EAF
monochromatic
#490F11 #7C191C #AF2328 #D7383E #E16B6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2328#FFFFFF#000000##FFFFFF
##AF23281.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)
#4F4827
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#C10027
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2328;
/* rgb */ color: rgb(175, 35, 40);
/* oklch */ color: oklch(49.3% 0.175 25.0);
Tailwind
colors: {
  custom: {
    50: '#d06c62',
    500: '#af2328',
    950: '#000000',
  },
}
SCSS
$custom: #af2328;
$custom-light: #d06c62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2328",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 40
  },
  "hsl": {
    "h": 357.857,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49263,
    "c": 0.17546,
    "h": 25
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#AF2328
secondary
#66C7C4
accent
#EAE33E
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2328

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

Preview Lab → · Contrast checker → · Palette generator →

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