#AF3042#AF3042

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

Color values

HEX#AF3042
RGBrgb(175, 48, 66)
HSLhsl(351, 57%, 44%)
HSVhsv(351, 73%, 69%)
CMYKcmyk(0%, 72.6%, 62.3%, 31.4%)
CIE-LABlab(40.61, 51.99, 20.01)
CIE-LCHlch(40.61, 55.71, 21.05°)
OKLaboklab(50.83% 0.1551 0.0485)
OKLCHoklch(50.83% 0.163 17.4)
XYZxyz(19.7215, 11.6241, 6.3584)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3042 #30AF9D
analogous
#AF3081 #AF3042 #AF5D30
triadic
#AF3042 #42AF30 #3042AF
tetradic
#AF3042 #81AF30 #30AF9D #5D30AF
square
#AF3042 #81AF30 #30AF9D #5D30AF
split-complementary
#AF3042 #30AF5D #3081AF
monochromatic
#4F161E #7F2330 #AF3042 #CE4E60 #DC7E8B

Accessibility & contrast

On white

6.32
#AF3042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3042
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3042#FFFFFF#000000##FFFFFF
##AF30421.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F42
Deuteranopia (green-blind)
#73693F
Tritanopia (blue-blind)
#C00638
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3042;
/* rgb */ color: rgb(175, 48, 66);
/* oklch */ color: oklch(50.8% 0.163 17.4);
Tailwind
colors: {
  custom: {
    50: '#ce7276',
    500: '#af3042',
    950: '#000000',
  },
}
SCSS
$custom: #af3042;
$custom-light: #ce7276;
$custom-dark: #000000;
JSON
{
  "hex": "#af3042",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 66
  },
  "hsl": {
    "h": 351.496,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50831,
    "c": 0.16253,
    "h": 17.4
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#AF3042
secondary
#76C4B9
accent
#E0CB48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF3042

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

Preview Lab → · Contrast checker → · Palette generator →

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