#AF3143#AF3143

#AF3143 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.162 H 17.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF3143
RGBrgb(175, 49, 67)
HSLhsl(351, 56%, 44%)
HSVhsv(351, 72%, 69%)
CMYKcmyk(0%, 72%, 61.7%, 31.4%)
CIE-LABlab(40.77, 51.68, 19.59)
CIE-LCHlch(40.77, 55.27, 20.76°)
OKLaboklab(50.95% 0.1543 0.0476)
OKLCHoklch(50.95% 0.162 17.1)
XYZxyz(19.7926, 11.7187, 6.5288)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3143 #31AF9D
analogous
#AF3182 #AF3143 #AF5E31
triadic
#AF3143 #43AF31 #3143AF
tetradic
#AF3143 #82AF31 #31AF9D #5E31AF
square
#AF3143 #82AF31 #31AF9D #5E31AF
split-complementary
#AF3143 #31AF5E #3182AF
monochromatic
#4F161E #7F2431 #AF3143 #CE4F61 #DB7F8C

Accessibility & contrast

On white

6.28
#AF3143 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF3143 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3143
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3143#FFFFFF#000000##FFFFFF
##AF31431.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F43
Deuteranopia (green-blind)
#736A40
Tritanopia (blue-blind)
#C00B39
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3143;
/* rgb */ color: rgb(175, 49, 67);
/* oklch */ color: oklch(51.0% 0.162 17.1);
Tailwind
colors: {
  custom: {
    50: '#ce7277',
    500: '#af3143',
    950: '#000000',
  },
}
SCSS
$custom: #af3143;
$custom-light: #ce7277;
$custom-dark: #000000;
JSON
{
  "hex": "#af3143",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 67
  },
  "hsl": {
    "h": 351.429,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.16152,
    "h": 17.1
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#AF3143
secondary
#78C4B9
accent
#E0CA48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3143

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

Preview Lab → · Contrast checker → · Palette generator →

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