#AF2B4A#AF2B4A

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

Color values

HEX#AF2B4A
RGBrgb(175, 43, 74)
HSLhsl(346, 61%, 43%)
HSVhsv(346, 75%, 69%)
CMYKcmyk(0%, 75.4%, 57.7%, 31.4%)
CIE-LABlab(40.15, 54.30, 14.37)
CIE-LCHlch(40.15, 56.17, 14.82°)
OKLaboklab(50.54% 0.164 0.0358)
OKLCHoklch(50.54% 0.168 12.3)
XYZxyz(19.7810, 11.3390, 7.6243)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B4A #2BAF90
analogous
#AF2B8C #AF2B4A #AF4E2B
triadic
#AF2B4A #4AAF2B #2B4AAF
tetradic
#AF2B4A #8CAF2B #2BAF90 #4E2BAF
square
#AF2B4A #8CAF2B #2BAF90 #4E2BAF
split-complementary
#AF2B4A #2BAF4E #2B8CAF
monochromatic
#4D1320 #7E1F35 #AF2B4A #D14667 #DE778F

Accessibility & contrast

On white

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

On black

3.27
#AF2B4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2B4A#FFFFFF#000000##FFFFFF
##AF2B4A1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2b4a;
/* rgb */ color: rgb(175, 43, 74);
/* oklch */ color: oklch(50.5% 0.168 12.3);
Tailwind
colors: {
  custom: {
    50: '#cd707c',
    500: '#af2b4a',
    950: '#000000',
  },
}
SCSS
$custom: #af2b4a;
$custom-light: #cd707c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b4a",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 74
  },
  "hsl": {
    "h": 345.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.16783,
    "h": 12.3
  },
  "luminance": 0.11336
}

Semantic roles & 50–950 ramp

primary
#AF2B4A
secondary
#70C5B1
accent
#E4BE44
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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