#AF2B49#AF2B49

#AF2B49 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.168 H 12.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AF2B49
RGBrgb(175, 43, 73)
HSLhsl(346, 61%, 43%)
HSVhsv(346, 75%, 69%)
CMYKcmyk(0%, 75.4%, 58.3%, 31.4%)
CIE-LABlab(40.12, 54.23, 14.97)
CIE-LCHlch(40.12, 56.26, 15.43°)
OKLaboklab(50.52% 0.1636 0.0372)
OKLCHoklch(50.52% 0.168 12.8)
XYZxyz(19.7476, 11.3256, 7.4483)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B49 #2BAF91
analogous
#AF2B8B #AF2B49 #AF4F2B
triadic
#AF2B49 #49AF2B #2B49AF
tetradic
#AF2B49 #8BAF2B #2BAF91 #4F2BAF
square
#AF2B49 #8BAF2B #2BAF91 #4F2BAF
split-complementary
#AF2B49 #2BAF4F #2B8BAF
monochromatic
#4D1320 #7E1F35 #AF2B49 #D14665 #DE778E

Accessibility & contrast

On white

6.43
#AF2B49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2B49 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B49
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B49#FFFFFF#000000##FFFFFF
##AF2B491.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D49
Deuteranopia (green-blind)
#706846
Tritanopia (blue-blind)
#C00038
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2b49;
/* rgb */ color: rgb(175, 43, 73);
/* oklch */ color: oklch(50.5% 0.168 12.8);
Tailwind
colors: {
  custom: {
    50: '#ce707b',
    500: '#af2b49',
    950: '#000000',
  },
}
SCSS
$custom: #af2b49;
$custom-light: #ce707b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b49",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 73
  },
  "hsl": {
    "h": 346.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.16774,
    "h": 12.8
  },
  "luminance": 0.11323
}

Semantic roles & 50–950 ramp

primary
#AF2B49
secondary
#70C5B2
accent
#E4BF44
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2B49

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

Preview Lab → · Contrast checker → · Palette generator →

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