#AF2845#AF2845

#AF2845 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.170 H 14.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF2845
RGBrgb(175, 40, 69)
HSLhsl(347, 63%, 42%)
HSVhsv(347, 77%, 69%)
CMYKcmyk(0%, 77.1%, 60.6%, 31.4%)
CIE-LABlab(39.69, 54.93, 16.91)
CIE-LCHlch(39.69, 57.48, 17.11°)
OKLaboklab(50.17% 0.1651 0.0415)
OKLCHoklch(50.17% 0.17 14.1)
XYZxyz(19.5142, 11.0641, 6.7371)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2845 #28AF92
analogous
#AF2889 #AF2845 #AF4E28
triadic
#AF2845 #45AF28 #2845AF
tetradic
#AF2845 #89AF28 #28AF92 #4E28AF
square
#AF2845 #89AF28 #28AF92 #4E28AF
split-complementary
#AF2845 #28AF4E #2889AF
monochromatic
#4B111E #7D1D31 #AF2845 #D44160 #DF738A

Accessibility & contrast

On white

6.54
#AF2845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2845
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2845#FFFFFF#000000##FFFFFF
##AF28451.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C45
Deuteranopia (green-blind)
#706841
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2845;
/* rgb */ color: rgb(175, 40, 69);
/* oklch */ color: oklch(50.2% 0.170 14.1);
Tailwind
colors: {
  custom: {
    50: '#ce6f78',
    500: '#af2845',
    950: '#000000',
  },
}
SCSS
$custom: #af2845;
$custom-light: #ce6f78;
$custom-dark: #000000;
JSON
{
  "hex": "#af2845",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 347.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.17027,
    "h": 14.1
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#AF2845
secondary
#6DC6B3
accent
#E6C342
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2845

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

Preview Lab → · Contrast checker → · Palette generator →

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