#AF3038#AF3038

#AF3038 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.163 H 21.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF3038
RGBrgb(175, 48, 56)
HSLhsl(356, 57%, 44%)
HSVhsv(356, 73%, 69%)
CMYKcmyk(0%, 72.6%, 68%, 31.4%)
CIE-LABlab(40.44, 51.39, 25.98)
CIE-LCHlch(40.44, 57.58, 26.81°)
OKLaboklab(50.64% 0.1512 0.0609)
OKLCHoklch(50.64% 0.163 21.9)
XYZxyz(19.4521, 11.5163, 4.9392)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3038 #30AFA7
analogous
#AF3077 #AF3038 #AF6730
triadic
#AF3038 #38AF30 #3038AF
tetradic
#AF3038 #77AF30 #30AFA7 #6730AF
square
#AF3038 #77AF30 #30AFA7 #6730AF
split-complementary
#AF3038 #30AF67 #3077AF
monochromatic
#4F1619 #7F2329 #AF3038 #CE4E56 #DC7E84

Accessibility & contrast

On white

6.36
#AF3038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF3038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3038
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3038#FFFFFF#000000##FFFFFF
##AF30381.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E37
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3038;
/* rgb */ color: rgb(175, 48, 56);
/* oklch */ color: oklch(50.6% 0.163 21.9);
Tailwind
colors: {
  custom: {
    50: '#ce726e',
    500: '#af3038',
    950: '#000000',
  },
}
SCSS
$custom: #af3038;
$custom-light: #ce726e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3038",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 56
  },
  "hsl": {
    "h": 356.22,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50643,
    "c": 0.16298,
    "h": 21.9
  },
  "luminance": 0.11513
}

Semantic roles & 50–950 ramp

primary
#AF3038
secondary
#76C4BF
accent
#E0D748
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF3038

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

Preview Lab → · Contrast checker → · Palette generator →

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