#AF2D4B#AF2D4B

#AF2D4B is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.166 H 12.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF2D4B
RGBrgb(175, 45, 75)
HSLhsl(346, 59%, 43%)
HSVhsv(346, 74%, 69%)
CMYKcmyk(0%, 74.3%, 57.1%, 31.4%)
CIE-LABlab(40.41, 53.69, 14.10)
CIE-LCHlch(40.41, 55.51, 14.72°)
OKLaboklab(50.74% 0.1622 0.0352)
OKLCHoklch(50.74% 0.166 12.3)
XYZxyz(19.8895, 11.5016, 7.8279)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D4B #2DAF91
analogous
#AF2D8C #AF2D4B #AF502D
triadic
#AF2D4B #4BAF2D #2D4BAF
tetradic
#AF2D4B #8CAF2D #2DAF91 #502DAF
square
#AF2D4B #8CAF2D #2DAF91 #502DAF
split-complementary
#AF2D4B #2DAF50 #2D8CAF
monochromatic
#4E1421 #7E2036 #AF2D4B #D04968 #DD7A91

Accessibility & contrast

On white

6.36
#AF2D4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF2D4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D4B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D4B#FFFFFF#000000##FFFFFF
##AF2D4B1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4B
Deuteranopia (green-blind)
#716948
Tritanopia (blue-blind)
#BF0439
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2d4b;
/* rgb */ color: rgb(175, 45, 75);
/* oklch */ color: oklch(50.7% 0.166 12.3);
Tailwind
colors: {
  custom: {
    50: '#cd717d',
    500: '#af2d4b',
    950: '#000000',
  },
}
SCSS
$custom: #af2d4b;
$custom-light: #cd717d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d4b",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 75
  },
  "hsl": {
    "h": 346.154,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50743,
    "c": 0.16594,
    "h": 12.3
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#AF2D4B
secondary
#73C5B2
accent
#E2BE46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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