#AF2144#AF2144

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

Color values

HEX#AF2144
RGBrgb(175, 33, 68)
HSLhsl(345, 68%, 41%)
HSVhsv(345, 81%, 69%)
CMYKcmyk(0%, 81.1%, 61.1%, 31.4%)
CIE-LABlab(38.94, 56.93, 16.54)
CIE-LCHlch(38.94, 59.28, 16.20°)
OKLaboklab(49.6% 0.1714 0.0406)
OKLCHoklch(49.6% 0.176 13.3)
XYZxyz(19.2685, 10.6219, 6.5034)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2144 #21AF8C
analogous
#AF218B #AF2144 #AF4521
triadic
#AF2144 #44AF21 #2144AF
tetradic
#AF2144 #8BAF21 #21AF8C #4521AF
square
#AF2144 #8BAF21 #21AF8C #4521AF
split-complementary
#AF2144 #21AF45 #218BAF
monochromatic
#480E1C #7C1730 #AF2144 #D9345D #E36886

Accessibility & contrast

On white

6.72
#AF2144 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AF2144 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2144
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2144#FFFFFF#000000##FFFFFF
##AF21441.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2144;
/* rgb */ color: rgb(175, 33, 68);
/* oklch */ color: oklch(49.6% 0.176 13.3);
Tailwind
colors: {
  custom: {
    50: '#ce6c77',
    500: '#af2144',
    950: '#000000',
  },
}
SCSS
$custom: #af2144;
$custom-light: #ce6c77;
$custom-dark: #000000;
JSON
{
  "hex": "#af2144",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 345.211,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49602,
    "c": 0.17613,
    "h": 13.3
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#AF2144
secondary
#64C8AF
accent
#EBC03D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF2144

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

Preview Lab → · Contrast checker → · Palette generator →

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