#A52238#A52238

#A52238 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.6% C 0.166 H 17.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A52238
RGBrgb(165, 34, 56)
HSLhsl(350, 66%, 39%)
HSVhsv(350, 79%, 65%)
CMYKcmyk(0%, 79.4%, 66.1%, 35.3%)
CIE-LABlab(36.80, 53.03, 21.00)
CIE-LCHlch(36.80, 57.04, 21.60°)
OKLaboklab(47.59% 0.1578 0.0501)
OKLCHoklch(47.59% 0.166 17.6)
XYZxyz(16.8047, 9.4315, 4.6762)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52238 #22A58F
analogous
#A5227A #A52238 #A54E22
triadic
#A52238 #38A522 #2238A5
tetradic
#A52238 #7AA522 #22A58F #4E22A5
square
#A52238 #7AA522 #22A58F #4E22A5
split-complementary
#A52238 #22A54E #227AA5
monochromatic
#400D16 #721827 #A52238 #D4304B #DF6377

Accessibility & contrast

On white

7.28
#A52238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A52238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52238
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52238#FFFFFF#000000##FFFFFF
##A522381.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494538
Deuteranopia (green-blind)
#6A6034
Tritanopia (blue-blind)
#B5002C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a52238;
/* rgb */ color: rgb(165, 34, 56);
/* oklch */ color: oklch(47.6% 0.166 17.6);
Tailwind
colors: {
  custom: {
    50: '#c76a6e',
    500: '#a52238',
    950: '#000000',
  },
}
SCSS
$custom: #a52238;
$custom-light: #c76a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a52238",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 349.924,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47593,
    "c": 0.16554,
    "h": 17.6
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#A52238
secondary
#5FC4B3
accent
#E9CC3F
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A52238

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

Preview Lab → · Contrast checker → · Palette generator →

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