#AF2E3C#AF2E3C

#AF2E3C is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.165 H 19.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AF2E3C
RGBrgb(175, 46, 60)
HSLhsl(353, 58%, 43%)
HSVhsv(353, 74%, 69%)
CMYKcmyk(0%, 73.7%, 65.7%, 31.4%)
CIE-LABlab(40.24, 52.34, 23.27)
CIE-LCHlch(40.24, 57.28, 23.97°)
OKLaboklab(50.52% 0.1551 0.0553)
OKLCHoklch(50.52% 0.165 19.6)
XYZxyz(19.4739, 11.3971, 5.4485)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E3C #2EAFA1
analogous
#AF2E7C #AF2E3C #AF602E
triadic
#AF2E3C #3CAF2E #2E3CAF
tetradic
#AF2E3C #7CAF2E #2EAFA1 #602EAF
square
#AF2E3C #7CAF2E #2EAFA1 #602EAF
split-complementary
#AF2E3C #2EAF60 #2E7CAF
monochromatic
#4E151B #7F212B #AF2E3C #D04B59 #DC7B86

Accessibility & contrast

On white

6.40
#AF2E3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E3C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E3C#FFFFFF#000000##FFFFFF
##AF2E3C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524D3C
Deuteranopia (green-blind)
#736938
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e3c;
/* rgb */ color: rgb(175, 46, 60);
/* oklch */ color: oklch(50.5% 0.165 19.6);
Tailwind
colors: {
  custom: {
    50: '#ce7171',
    500: '#af2e3c',
    950: '#000000',
  },
}
SCSS
$custom: #af2e3c;
$custom-light: #ce7171;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e3c",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 60
  },
  "hsl": {
    "h": 353.488,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50519,
    "c": 0.16464,
    "h": 19.6
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#AF2E3C
secondary
#74C5BC
accent
#E2D146
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2E3C

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

Preview Lab → · Contrast checker → · Palette generator →

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