#AF3230#AF3230

#AF3230 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.162 H 25.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AF3230
RGBrgb(175, 50, 48)
HSLhsl(1, 57%, 44%)
HSVhsv(1, 73%, 69%)
CMYKcmyk(0%, 71.4%, 72.6%, 31.4%)
CIE-LABlab(40.59, 50.24, 30.99)
CIE-LCHlch(40.59, 59.02, 31.67°)
OKLaboklab(50.72% 0.1458 0.0706)
OKLCHoklch(50.72% 0.162 25.8)
XYZxyz(19.3555, 11.6115, 4.0178)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3230 #30ADAF
analogous
#AF306D #AF3230 #AF7130
triadic
#AF3230 #30AF32 #3230AF
tetradic
#AF3230 #6DAF30 #30ADAF #7130AF
square
#AF3230 #6DAF30 #30ADAF #7130AF
split-complementary
#AF3230 #30AF71 #306DAF
monochromatic
#4F1716 #7F2423 #AF3230 #CE504E #DC7F7E

Accessibility & contrast

On white

6.32
#AF3230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF3230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3230
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3230#FFFFFF#000000##FFFFFF
##AF32301.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2F
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#C10133
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3230;
/* rgb */ color: rgb(175, 50, 48);
/* oklch */ color: oklch(50.7% 0.162 25.8);
Tailwind
colors: {
  custom: {
    50: '#cf7268',
    500: '#af3230',
    950: '#000000',
  },
}
SCSS
$custom: #af3230;
$custom-light: #cf7268;
$custom-dark: #000000;
JSON
{
  "hex": "#af3230",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 48
  },
  "hsl": {
    "h": 0.945,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.16199,
    "h": 25.8
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#AF3230
secondary
#76C3C4
accent
#DEE048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF3230

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

Preview Lab → · Contrast checker → · Palette generator →

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