#AF2241#AF2241

#AF2241 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.6% C 0.175 H 14.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AF2241
RGBrgb(175, 34, 65)
HSLhsl(347, 67%, 41%)
HSVhsv(347, 81%, 69%)
CMYKcmyk(0%, 80.6%, 62.9%, 31.4%)
CIE-LABlab(38.97, 56.47, 18.49)
CIE-LCHlch(38.97, 59.42, 18.13°)
OKLaboklab(49.61% 0.1693 0.0449)
OKLCHoklch(49.61% 0.175 14.9)
XYZxyz(19.2074, 10.6426, 6.0429)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2241 #22AF90
analogous
#AF2287 #AF2241 #AF4A22
triadic
#AF2241 #41AF22 #2241AF
tetradic
#AF2241 #87AF22 #22AF90 #4A22AF
square
#AF2241 #87AF22 #22AF90 #4A22AF
split-complementary
#AF2241 #22AF4A #2287AF
monochromatic
#490E1B #7C182E #AF2241 #D8365A #E26984

Accessibility & contrast

On white

6.71
#AF2241 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AF2241 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2241
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2241#FFFFFF#000000##FFFFFF
##AF22411.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4941
Deuteranopia (green-blind)
#6F663D
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2241;
/* rgb */ color: rgb(175, 34, 65);
/* oklch */ color: oklch(49.6% 0.175 14.9);
Tailwind
colors: {
  custom: {
    50: '#ce6c75',
    500: '#af2241',
    950: '#000000',
  },
}
SCSS
$custom: #af2241;
$custom-light: #ce6c75;
$custom-dark: #000000;
JSON
{
  "hex": "#af2241",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 65
  },
  "hsl": {
    "h": 346.809,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.17516,
    "h": 14.9
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#AF2241
secondary
#65C8B2
accent
#EAC43D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF2241

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

Preview Lab → · Contrast checker → · Palette generator →

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