#AF2C4B#AF2C4B

#AF2C4B is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.7% C 0.167 H 12.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF2C4B
RGBrgb(175, 44, 75)
HSLhsl(346, 60%, 43%)
HSVhsv(346, 75%, 69%)
CMYKcmyk(0%, 74.9%, 57.1%, 31.4%)
CIE-LABlab(40.29, 54.03, 13.93)
CIE-LCHlch(40.29, 55.80, 14.46°)
OKLaboklab(50.65% 0.1633 0.0348)
OKLCHoklch(50.65% 0.167 12)
XYZxyz(19.8518, 11.4262, 7.8154)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C4B #2CAF90
analogous
#AF2C8C #AF2C4B #AF4F2C
triadic
#AF2C4B #4BAF2C #2C4BAF
tetradic
#AF2C4B #8CAF2C #2CAF90 #4F2CAF
square
#AF2C4B #8CAF2C #2CAF90 #4F2CAF
split-complementary
#AF2C4B #2CAF4F #2C8CAF
monochromatic
#4D1321 #7E2036 #AF2C4B #D14768 #DD7890

Accessibility & contrast

On white

6.39
#AF2C4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF2C4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C4B
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C4B#FFFFFF#000000##FFFFFF
##AF2C4B1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2c4b;
/* rgb */ color: rgb(175, 44, 75);
/* oklch */ color: oklch(50.7% 0.167 12.0);
Tailwind
colors: {
  custom: {
    50: '#cd707d',
    500: '#af2c4b',
    950: '#000000',
  },
}
SCSS
$custom: #af2c4b;
$custom-light: #cd707d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c4b",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 75
  },
  "hsl": {
    "h": 345.802,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.16694,
    "h": 12
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#AF2C4B
secondary
#72C5B1
accent
#E3BE45
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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