#AF303E#AF303E

#AF303E is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.163 H 19.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF303E
RGBrgb(175, 48, 62)
HSLhsl(353, 57%, 44%)
HSVhsv(353, 73%, 69%)
CMYKcmyk(0%, 72.6%, 64.6%, 31.4%)
CIE-LABlab(40.54, 51.74, 22.41)
CIE-LCHlch(40.54, 56.38, 23.42°)
OKLaboklab(50.75% 0.1535 0.0536)
OKLCHoklch(50.75% 0.163 19.2)
XYZxyz(19.6077, 11.5785, 5.7589)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF303E #30AFA1
analogous
#AF307D #AF303E #AF6130
triadic
#AF303E #3EAF30 #303EAF
tetradic
#AF303E #7DAF30 #30AFA1 #6130AF
square
#AF303E #7DAF30 #30AFA1 #6130AF
split-complementary
#AF303E #30AF61 #307DAF
monochromatic
#4F161C #7F232D #AF303E #CE4E5C #DC7E88

Accessibility & contrast

On white

6.33
#AF303E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF303E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF303E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF303E#FFFFFF#000000##FFFFFF
##AF303E1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E3E
Deuteranopia (green-blind)
#73693A
Tritanopia (blue-blind)
#C00336
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af303e;
/* rgb */ color: rgb(175, 48, 62);
/* oklch */ color: oklch(50.8% 0.163 19.2);
Tailwind
colors: {
  custom: {
    50: '#ce7273',
    500: '#af303e',
    950: '#000000',
  },
}
SCSS
$custom: #af303e;
$custom-light: #ce7273;
$custom-dark: #000000;
JSON
{
  "hex": "#af303e",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 62
  },
  "hsl": {
    "h": 353.386,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.16261,
    "h": 19.2
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#AF303E
secondary
#76C4BC
accent
#E0CF48
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF303E

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

Preview Lab → · Contrast checker → · Palette generator →

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