#AF2D4C#AF2D4C

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

Color values

HEX#AF2D4C
RGBrgb(175, 45, 76)
HSLhsl(346, 59%, 43%)
HSVhsv(346, 74%, 69%)
CMYKcmyk(0%, 74.3%, 56.6%, 31.4%)
CIE-LABlab(40.44, 53.76, 13.50)
CIE-LCHlch(40.44, 55.43, 14.10°)
OKLaboklab(50.77% 0.1626 0.0338)
OKLCHoklch(50.77% 0.166 11.8)
XYZxyz(19.9240, 11.5154, 8.0096)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D4C #2DAF90
analogous
#AF2D8D #AF2D4C #AF4F2D
triadic
#AF2D4C #4CAF2D #2D4CAF
tetradic
#AF2D4C #8DAF2D #2DAF90 #4F2DAF
square
#AF2D4C #8DAF2D #2DAF90 #4F2DAF
split-complementary
#AF2D4C #2DAF4F #2D8DAF
monochromatic
#4E1422 #7E2037 #AF2D4C #D04969 #DD7A91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2D4C#FFFFFF#000000##FFFFFF
##AF2D4C1.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)
#4F4E4C
Deuteranopia (green-blind)
#706949
Tritanopia (blue-blind)
#BF053A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2d4c;
/* rgb */ color: rgb(175, 45, 76);
/* oklch */ color: oklch(50.8% 0.166 11.8);
Tailwind
colors: {
  custom: {
    50: '#cd717d',
    500: '#af2d4c',
    950: '#000000',
  },
}
SCSS
$custom: #af2d4c;
$custom-light: #cd717d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d4c",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 345.692,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.16604,
    "h": 11.8
  },
  "luminance": 0.11513
}

Semantic roles & 50–950 ramp

primary
#AF2D4C
secondary
#73C5B1
accent
#E2BD46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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