#A42138#A42138

#A42138 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.3% C 0.165 H 17.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#A42138
RGBrgb(164, 33, 56)
HSLhsl(349, 66%, 39%)
HSVhsv(349, 80%, 64%)
CMYKcmyk(0%, 79.9%, 65.9%, 35.7%)
CIE-LABlab(36.50, 53.04, 20.57)
CIE-LCHlch(36.50, 56.89, 21.19°)
OKLaboklab(47.33% 0.158 0.0491)
OKLCHoklch(47.33% 0.165 17.3)
XYZxyz(16.5693, 9.2683, 4.6571)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42138 #21A48D
analogous
#A42179 #A42138 #A44C21
triadic
#A42138 #38A421 #2138A4
tetradic
#A42138 #79A421 #21A48D #4C21A4
square
#A42138 #79A421 #21A48D #4C21A4
split-complementary
#A42138 #21A44C #2179A4
monochromatic
#3E0C15 #711727 #A42138 #D52D4B #DF6077

Accessibility & contrast

On white

7.36
#A42138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A42138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42138
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42138#FFFFFF#000000##FFFFFF
##A421381.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484438
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#B4002B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a42138;
/* rgb */ color: rgb(164, 33, 56);
/* oklch */ color: oklch(47.3% 0.165 17.3);
Tailwind
colors: {
  custom: {
    50: '#c76a6e',
    500: '#a42138',
    950: '#000000',
  },
}
SCSS
$custom: #a42138;
$custom-light: #c76a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a42138",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 349.466,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.16541,
    "h": 17.3
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#A42138
secondary
#5DC4B2
accent
#E9CB3E
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A42138

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

Preview Lab → · Contrast checker → · Palette generator →

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