#AF3742#AF3742

#AF3742 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.6% C 0.155 H 19.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF3742
RGBrgb(175, 55, 66)
HSLhsl(355, 52%, 45%)
HSVhsv(355, 69%, 69%)
CMYKcmyk(0%, 68.6%, 62.3%, 31.4%)
CIE-LABlab(41.60, 49.28, 21.30)
CIE-LCHlch(41.60, 53.68, 23.37°)
OKLaboklab(51.57% 0.1465 0.0515)
OKLCHoklch(51.57% 0.155 19.4)
XYZxyz(20.0307, 12.2425, 6.4615)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3742 #37AFA4
analogous
#AF377E #AF3742 #AF6837
triadic
#AF3742 #42AF37 #3742AF
tetradic
#AF3742 #7EAF37 #37AFA4 #6837AF
square
#AF3742 #7EAF37 #37AFA4 #6837AF
split-complementary
#AF3742 #37AF68 #377EAF
monochromatic
#521A1F #802830 #AF3742 #CB5963 #D9878F

Accessibility & contrast

On white

6.09
#AF3742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF3742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3742
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3742#FFFFFF#000000##FFFFFF
##AF37421.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575242
Deuteranopia (green-blind)
#756B3F
Tritanopia (blue-blind)
#C0193C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3742;
/* rgb */ color: rgb(175, 55, 66);
/* oklch */ color: oklch(51.6% 0.155 19.4);
Tailwind
colors: {
  custom: {
    50: '#cd7576',
    500: '#af3742',
    950: '#000000',
  },
}
SCSS
$custom: #af3742;
$custom-light: #cd7576;
$custom-dark: #000000;
JSON
{
  "hex": "#af3742",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 66
  },
  "hsl": {
    "h": 354.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.15524,
    "h": 19.4
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#AF3742
secondary
#7FC3BD
accent
#DCCE4C
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3742

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

Preview Lab → · Contrast checker → · Palette generator →

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