#AF2530#AF2530

#AF2530 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.173 H 22.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AF2530
RGBrgb(175, 37, 48)
HSLhsl(355, 65%, 42%)
HSVhsv(355, 79%, 69%)
CMYKcmyk(0%, 78.9%, 72.6%, 31.4%)
CIE-LABlab(38.99, 54.69, 29.12)
CIE-LCHlch(38.99, 61.96, 28.03°)
OKLaboklab(49.53% 0.1599 0.0665)
OKLCHoklch(49.53% 0.173 22.6)
XYZxyz(18.8765, 10.6535, 3.8581)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2530 #25AFA4
analogous
#AF2575 #AF2530 #AF5F25
triadic
#AF2530 #30AF25 #2530AF
tetradic
#AF2530 #75AF25 #25AFA4 #5F25AF
square
#AF2530 #75AF25 #25AFA4 #5F25AF
split-complementary
#AF2530 #25AF5F #2575AF
monochromatic
#4A1014 #7C1A22 #AF2530 #D63C48 #E06E77

Accessibility & contrast

On white

6.71
#AF2530 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AF2530 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2530
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2530#FFFFFF#000000##FFFFFF
##AF25301.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492F
Deuteranopia (green-blind)
#71662B
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2530;
/* rgb */ color: rgb(175, 37, 48);
/* oklch */ color: oklch(49.5% 0.173 22.6);
Tailwind
colors: {
  custom: {
    50: '#cf6d68',
    500: '#af2530',
    950: '#000000',
  },
}
SCSS
$custom: #af2530;
$custom-light: #cf6d68;
$custom-dark: #000000;
JSON
{
  "hex": "#af2530",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 48
  },
  "hsl": {
    "h": 355.217,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49529,
    "c": 0.1732,
    "h": 22.6
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

primary
#AF2530
secondary
#69C7BF
accent
#E8DB40
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2530

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

Preview Lab → · Contrast checker → · Palette generator →

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