#AF303F#AF303F

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

Color values

HEX#AF303F
RGBrgb(175, 48, 63)
HSLhsl(353, 57%, 44%)
HSVhsv(353, 73%, 69%)
CMYKcmyk(0%, 72.6%, 64%, 31.4%)
CIE-LABlab(40.56, 51.80, 21.81)
CIE-LCHlch(40.56, 56.20, 22.83°)
OKLaboklab(50.77% 0.1539 0.0523)
OKLCHoklch(50.77% 0.163 18.8)
XYZxyz(19.6354, 11.5896, 5.9048)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF303F #30AFA0
analogous
#AF307E #AF303F #AF6030
triadic
#AF303F #3FAF30 #303FAF
tetradic
#AF303F #7EAF30 #30AFA0 #6030AF
square
#AF303F #7EAF30 #30AFA0 #6030AF
split-complementary
#AF303F #30AF60 #307EAF
monochromatic
#4F161C #7F232E #AF303F #CE4E5D #DC7E89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF303F#FFFFFF#000000##FFFFFF
##AF303F1.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)
#534F3F
Deuteranopia (green-blind)
#73693B
Tritanopia (blue-blind)
#C00437
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af303f;
/* rgb */ color: rgb(175, 48, 63);
/* oklch */ color: oklch(50.8% 0.163 18.8);
Tailwind
colors: {
  custom: {
    50: '#ce7273',
    500: '#af303f',
    950: '#000000',
  },
}
SCSS
$custom: #af303f;
$custom-light: #ce7273;
$custom-dark: #000000;
JSON
{
  "hex": "#af303f",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 63
  },
  "hsl": {
    "h": 352.913,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.16259,
    "h": 18.8
  },
  "luminance": 0.11587
}

Semantic roles & 50–950 ramp

primary
#AF303F
secondary
#76C4BB
accent
#E0CE48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF303F

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

Preview Lab → · Contrast checker → · Palette generator →

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