#AF3945#AF3945

#AF3945 is a mid, vivid red. Relative luminance 0.125; OKLCH L 51.9% C 0.153 H 18.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AF3945
RGBrgb(175, 57, 69)
HSLhsl(354, 51%, 45%)
HSVhsv(354, 67%, 69%)
CMYKcmyk(0%, 67.4%, 60.6%, 31.4%)
CIE-LABlab(41.96, 48.66, 19.91)
CIE-LCHlch(41.96, 52.57, 22.26°)
OKLaboklab(51.85% 0.1451 0.0485)
OKLCHoklch(51.85% 0.153 18.5)
XYZxyz(20.2184, 12.4727, 6.9719)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3945 #39AFA3
analogous
#AF3980 #AF3945 #AF6839
triadic
#AF3945 #45AF39 #3945AF
tetradic
#AF3945 #80AF39 #39AFA3 #6839AF
square
#AF3945 #80AF39 #39AFA3 #6839AF
split-complementary
#AF3945 #39AF68 #3980AF
monochromatic
#531B21 #812A33 #AF3945 #CA5B67 #D98A92

Accessibility & contrast

On white

6.01
#AF3945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AF3945 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3945
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3945#FFFFFF#000000##FFFFFF
##AF39451.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575345
Deuteranopia (green-blind)
#756C42
Tritanopia (blue-blind)
#C01E3E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3945;
/* rgb */ color: rgb(175, 57, 69);
/* oklch */ color: oklch(51.9% 0.153 18.5);
Tailwind
colors: {
  custom: {
    50: '#cd7678',
    500: '#af3945',
    950: '#000000',
  },
}
SCSS
$custom: #af3945;
$custom-light: #cd7678;
$custom-dark: #000000;
JSON
{
  "hex": "#af3945",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 69
  },
  "hsl": {
    "h": 353.898,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.15295,
    "h": 18.5
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#AF3945
secondary
#81C3BC
accent
#DACC4D
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF3945

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

Preview Lab → · Contrast checker → · Palette generator →

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