#AF2245#AF2245

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

Color values

HEX#AF2245
RGBrgb(175, 34, 69)
HSLhsl(345, 67%, 41%)
HSVhsv(345, 81%, 69%)
CMYKcmyk(0%, 80.6%, 60.6%, 31.4%)
CIE-LABlab(39.05, 56.72, 16.06)
CIE-LCHlch(39.05, 58.95, 15.81°)
OKLaboklab(49.7% 0.1709 0.0395)
OKLCHoklch(49.7% 0.175 13)
XYZxyz(19.3274, 10.6906, 6.6749)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2245 #22AF8C
analogous
#AF228B #AF2245 #AF4522
triadic
#AF2245 #45AF22 #2245AF
tetradic
#AF2245 #8BAF22 #22AF8C #4522AF
square
#AF2245 #8BAF22 #22AF8C #4522AF
split-complementary
#AF2245 #22AF45 #228BAF
monochromatic
#490E1D #7C1831 #AF2245 #D8365E #E26987

Accessibility & contrast

On white

6.69
#AF2245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AF2245 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2245
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2245#FFFFFF#000000##FFFFFF
##AF22451.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4A45
Deuteranopia (green-blind)
#6F6641
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2245;
/* rgb */ color: rgb(175, 34, 69);
/* oklch */ color: oklch(49.7% 0.175 13.0);
Tailwind
colors: {
  custom: {
    50: '#ce6c78',
    500: '#af2245',
    950: '#000000',
  },
}
SCSS
$custom: #af2245;
$custom-light: #ce6c78;
$custom-dark: #000000;
JSON
{
  "hex": "#af2245",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 345.106,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49696,
    "c": 0.17541,
    "h": 13
  },
  "luminance": 0.10688
}

Semantic roles & 50–950 ramp

primary
#AF2245
secondary
#65C8AF
accent
#EABF3D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF2245

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

Preview Lab → · Contrast checker → · Palette generator →

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