#AF2934#AF2934

#AF2934 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 21.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AF2934
RGBrgb(175, 41, 52)
HSLhsl(355, 62%, 42%)
HSVhsv(355, 77%, 69%)
CMYKcmyk(0%, 76.6%, 70.3%, 31.4%)
CIE-LABlab(39.50, 53.62, 27.28)
CIE-LCHlch(39.50, 60.16, 26.96°)
OKLaboklab(49.92% 0.1574 0.0632)
OKLCHoklch(49.92% 0.17 21.9)
XYZxyz(19.0941, 10.9507, 4.3564)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2934 #29AFA4
analogous
#AF2977 #AF2934 #AF6129
triadic
#AF2934 #34AF29 #2934AF
tetradic
#AF2934 #77AF29 #29AFA4 #6129AF
square
#AF2934 #77AF29 #29AFA4 #6129AF
split-complementary
#AF2934 #29AF61 #2977AF
monochromatic
#4C1217 #7D1D25 #AF2934 #D3424E #DE747D

Accessibility & contrast

On white

6.58
#AF2934 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AF2934 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2934
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2934#FFFFFF#000000##FFFFFF
##AF29341.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B33
Deuteranopia (green-blind)
#726730
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2934;
/* rgb */ color: rgb(175, 41, 52);
/* oklch */ color: oklch(49.9% 0.170 21.9);
Tailwind
colors: {
  custom: {
    50: '#cf6f6b',
    500: '#af2934',
    950: '#000000',
  },
}
SCSS
$custom: #af2934;
$custom-light: #cf6f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2934",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 52
  },
  "hsl": {
    "h": 355.075,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49924,
    "c": 0.16962,
    "h": 21.9
  },
  "luminance": 0.10948
}

Semantic roles & 50–950 ramp

primary
#AF2934
secondary
#6EC6BF
accent
#E5D843
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2934

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

Preview Lab → · Contrast checker → · Palette generator →

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