#AF2843#AF2843

#AF2843 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.170 H 15.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AF2843
RGBrgb(175, 40, 67)
HSLhsl(348, 63%, 42%)
HSVhsv(348, 77%, 69%)
CMYKcmyk(0%, 77.1%, 61.7%, 31.4%)
CIE-LABlab(39.65, 54.80, 18.12)
CIE-LCHlch(39.65, 57.72, 18.29°)
OKLaboklab(50.12% 0.1643 0.0442)
OKLCHoklch(50.12% 0.17 15.1)
XYZxyz(19.4531, 11.0397, 6.4157)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2843 #28AF94
analogous
#AF2887 #AF2843 #AF5128
triadic
#AF2843 #43AF28 #2843AF
tetradic
#AF2843 #87AF28 #28AF94 #5128AF
square
#AF2843 #87AF28 #28AF94 #5128AF
split-complementary
#AF2843 #28AF51 #2887AF
monochromatic
#4B111D #7D1D30 #AF2843 #D4415E #DF7388

Accessibility & contrast

On white

6.55
#AF2843 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2843 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2843
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2843#FFFFFF#000000##FFFFFF
##AF28431.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C43
Deuteranopia (green-blind)
#70673F
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2843;
/* rgb */ color: rgb(175, 40, 67);
/* oklch */ color: oklch(50.1% 0.170 15.1);
Tailwind
colors: {
  custom: {
    50: '#ce6e76',
    500: '#af2843',
    950: '#000000',
  },
}
SCSS
$custom: #af2843;
$custom-light: #ce6e76;
$custom-dark: #000000;
JSON
{
  "hex": "#af2843",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 67
  },
  "hsl": {
    "h": 348,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.17018,
    "h": 15.1
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#AF2843
secondary
#6DC6B4
accent
#E6C542
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2843

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

Preview Lab → · Contrast checker → · Palette generator →

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