#AF2F30#AF2F30

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

Color values

HEX#AF2F30
RGBrgb(175, 47, 48)
HSLhsl(360, 58%, 44%)
HSVhsv(360, 73%, 69%)
CMYKcmyk(0%, 73.1%, 72.6%, 31.4%)
CIE-LABlab(40.19, 51.36, 30.52)
CIE-LCHlch(40.19, 59.74, 30.72°)
OKLaboklab(50.42% 0.1493 0.0696)
OKLCHoklch(50.42% 0.165 25)
XYZxyz(19.2314, 11.3633, 3.9764)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F30 #2FAFAE
analogous
#AF2F70 #AF2F30 #AF6E2F
triadic
#AF2F30 #30AF2F #2F30AF
tetradic
#AF2F30 #70AF2F #2FAFAE #6E2FAF
square
#AF2F30 #70AF2F #2FAFAE #6E2FAF
split-complementary
#AF2F30 #2FAF6E #2F70AF
monochromatic
#4F1516 #7F2223 #AF2F30 #CF4C4D #DC7C7D

Accessibility & contrast

On white

6.42
#AF2F30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2F30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F30
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F30#FFFFFF#000000##FFFFFF
##AF2F301.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f30;
/* rgb */ color: rgb(175, 47, 48);
/* oklch */ color: oklch(50.4% 0.165 25.0);
Tailwind
colors: {
  custom: {
    50: '#cf7168',
    500: '#af2f30',
    950: '#000000',
  },
}
SCSS
$custom: #af2f30;
$custom-light: #cf7168;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f30",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 48
  },
  "hsl": {
    "h": 359.531,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50418,
    "c": 0.16474,
    "h": 25
  },
  "luminance": 0.1136
}

Semantic roles & 50–950 ramp

primary
#AF2F30
secondary
#75C4C4
accent
#E1E047
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2F30

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

Preview Lab → · Contrast checker → · Palette generator →

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