#AF2A45#AF2A45

#AF2A45 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.168 H 14.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF2A45
RGBrgb(175, 42, 69)
HSLhsl(348, 61%, 43%)
HSVhsv(348, 76%, 69%)
CMYKcmyk(0%, 76%, 60.6%, 31.4%)
CIE-LABlab(39.92, 54.28, 17.22)
CIE-LCHlch(39.92, 56.95, 17.60°)
OKLaboklab(50.34% 0.1631 0.0422)
OKLCHoklch(50.34% 0.168 14.5)
XYZxyz(19.5833, 11.2024, 6.7602)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A45 #2AAF94
analogous
#AF2A87 #AF2A45 #AF522A
triadic
#AF2A45 #45AF2A #2A45AF
tetradic
#AF2A45 #87AF2A #2AAF94 #522AAF
square
#AF2A45 #87AF2A #2AAF94 #522AAF
split-complementary
#AF2A45 #2AAF52 #2A87AF
monochromatic
#4C121E #7E1E32 #AF2A45 #D24461 #DE758B

Accessibility & contrast

On white

6.48
#AF2A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A45
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A45#FFFFFF#000000##FFFFFF
##AF2A451.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C45
Deuteranopia (green-blind)
#716841
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a45;
/* rgb */ color: rgb(175, 42, 69);
/* oklch */ color: oklch(50.3% 0.168 14.5);
Tailwind
colors: {
  custom: {
    50: '#ce6f78',
    500: '#af2a45',
    950: '#000000',
  },
}
SCSS
$custom: #af2a45;
$custom-light: #ce6f78;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a45",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 347.82,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50336,
    "c": 0.16843,
    "h": 14.5
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

primary
#AF2A45
secondary
#6FC6B4
accent
#E4C443
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2A45

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

Preview Lab → · Contrast checker → · Palette generator →

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