#AF3542#AF3542

#AF3542 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.3% C 0.157 H 18.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF3542
RGBrgb(175, 53, 66)
HSLhsl(354, 54%, 45%)
HSVhsv(354, 70%, 69%)
CMYKcmyk(0%, 69.7%, 62.3%, 31.4%)
CIE-LABlab(41.31, 50.08, 20.92)
CIE-LCHlch(41.31, 54.27, 22.67°)
OKLaboklab(51.35% 0.149 0.0506)
OKLCHoklch(51.35% 0.157 18.7)
XYZxyz(19.9377, 12.0563, 6.4304)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3542 #35AFA2
analogous
#AF357F #AF3542 #AF6535
triadic
#AF3542 #42AF35 #3542AF
tetradic
#AF3542 #7FAF35 #35AFA2 #6535AF
square
#AF3542 #7FAF35 #35AFA2 #6535AF
split-complementary
#AF3542 #35AF65 #357FAF
monochromatic
#51191F #802730 #AF3542 #CC5662 #DA858E

Accessibility & contrast

On white

6.16
#AF3542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF3542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3542
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3542#FFFFFF#000000##FFFFFF
##AF35421.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555142
Deuteranopia (green-blind)
#746B3F
Tritanopia (blue-blind)
#C0153B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3542;
/* rgb */ color: rgb(175, 53, 66);
/* oklch */ color: oklch(51.3% 0.157 18.7);
Tailwind
colors: {
  custom: {
    50: '#ce7476',
    500: '#af3542',
    950: '#000000',
  },
}
SCSS
$custom: #af3542;
$custom-light: #ce7476;
$custom-dark: #000000;
JSON
{
  "hex": "#af3542",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 66
  },
  "hsl": {
    "h": 353.607,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.15737,
    "h": 18.7
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#AF3542
secondary
#7CC4BC
accent
#DDCD4B
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3542

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

Preview Lab → · Contrast checker → · Palette generator →

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