#AF3123#AF3123

#AF3123 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.165 H 30.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF3123
RGBrgb(175, 49, 35)
HSLhsl(6, 67%, 41%)
HSVhsv(6, 80%, 69%)
CMYKcmyk(0%, 72%, 80%, 31.4%)
CIE-LABlab(40.30, 50.09, 38.10)
CIE-LCHlch(40.30, 62.93, 37.26°)
OKLaboklab(50.46% 0.1426 0.0827)
OKLCHoklch(50.46% 0.165 30.1)
XYZxyz(19.0831, 11.4349, 2.7921)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3123 #23A1AF
analogous
#AF235B #AF3123 #AF7723
triadic
#AF3123 #23AF31 #3123AF
tetradic
#AF3123 #5BAF23 #23A1AF #7723AF
square
#AF3123 #5BAF23 #23A1AF #7723AF
split-complementary
#AF3123 #23AF77 #235BAF
monochromatic
#49140F #7C2319 #AF3123 #D74838 #E1776B

Accessibility & contrast

On white

6.39
#AF3123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF3123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3123
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3123#FFFFFF#000000##FFFFFF
##AF31231.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D20
Deuteranopia (green-blind)
#76691D
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3123;
/* rgb */ color: rgb(175, 49, 35);
/* oklch */ color: oklch(50.5% 0.165 30.1);
Tailwind
colors: {
  custom: {
    50: '#d0725f',
    500: '#af3123',
    950: '#000000',
  },
}
SCSS
$custom: #af3123;
$custom-light: #d0725f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3123",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 35
  },
  "hsl": {
    "h": 6,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.16485,
    "h": 30.1
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#AF3123
secondary
#66BEC7
accent
#D8EA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF3123

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

Preview Lab → · Contrast checker → · Palette generator →

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