#AF2242#AF2242

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

Color values

HEX#AF2242
RGBrgb(175, 34, 66)
HSLhsl(346, 67%, 41%)
HSVhsv(346, 81%, 69%)
CMYKcmyk(0%, 80.6%, 62.3%, 31.4%)
CIE-LABlab(38.99, 56.53, 17.88)
CIE-LCHlch(38.99, 59.29, 17.56°)
OKLaboklab(49.63% 0.1697 0.0436)
OKLCHoklch(49.63% 0.175 14.4)
XYZxyz(19.2366, 10.6543, 6.1968)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2242 #22AF8F
analogous
#AF2288 #AF2242 #AF4822
triadic
#AF2242 #42AF22 #2242AF
tetradic
#AF2242 #88AF22 #22AF8F #4822AF
square
#AF2242 #88AF22 #22AF8F #4822AF
split-complementary
#AF2242 #22AF48 #2288AF
monochromatic
#490E1B #7C182F #AF2242 #D8365B #E26985

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2242#FFFFFF#000000##FFFFFF
##AF22421.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)
#4B4942
Deuteranopia (green-blind)
#6F663E
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2242;
/* rgb */ color: rgb(175, 34, 66);
/* oklch */ color: oklch(49.6% 0.175 14.4);
Tailwind
colors: {
  custom: {
    50: '#ce6c76',
    500: '#af2242',
    950: '#000000',
  },
}
SCSS
$custom: #af2242;
$custom-light: #ce6c76;
$custom-dark: #000000;
JSON
{
  "hex": "#af2242",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 346.383,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4963,
    "c": 0.17521,
    "h": 14.4
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#AF2242
secondary
#65C8B1
accent
#EAC33D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF2242

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

Preview Lab → · Contrast checker → · Palette generator →

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