#AF2C30#AF2C30

#AF2C30 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.167 H 24.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF2C30
RGBrgb(175, 44, 48)
HSLhsl(358, 60%, 43%)
HSVhsv(358, 75%, 69%)
CMYKcmyk(0%, 74.9%, 72.6%, 31.4%)
CIE-LABlab(39.80, 52.42, 30.07)
CIE-LCHlch(39.80, 60.43, 29.84°)
OKLaboklab(50.13% 0.1527 0.0686)
OKLCHoklch(50.13% 0.167 24.2)
XYZxyz(19.1156, 11.1317, 3.9378)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C30 #2CAFAB
analogous
#AF2C71 #AF2C30 #AF692C
triadic
#AF2C30 #30AF2C #2C30AF
tetradic
#AF2C30 #71AF2C #2CAFAB #692CAF
square
#AF2C30 #71AF2C #2CAFAB #692CAF
split-complementary
#AF2C30 #2CAF69 #2C71AF
monochromatic
#4D1315 #7E2023 #AF2C30 #D1474C #DD787B

Accessibility & contrast

On white

6.51
#AF2C30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2C30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C30
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C30#FFFFFF#000000##FFFFFF
##AF2C301.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2F
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c30;
/* rgb */ color: rgb(175, 44, 48);
/* oklch */ color: oklch(50.1% 0.167 24.2);
Tailwind
colors: {
  custom: {
    50: '#cf7068',
    500: '#af2c30',
    950: '#000000',
  },
}
SCSS
$custom: #af2c30;
$custom-light: #cf7068;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c30",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 48
  },
  "hsl": {
    "h": 358.168,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50132,
    "c": 0.16741,
    "h": 24.2
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#AF2C30
secondary
#72C5C3
accent
#E3DE45
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2C30

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

Preview Lab → · Contrast checker → · Palette generator →

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