#A01838#A01838

#A01838 is a mid, vivid red. Relative luminance 0.084; OKLCH L 46.0% C 0.168 H 15.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#A01838
RGBrgb(160, 24, 56)
HSLhsl(346, 74%, 36%)
HSVhsv(346, 85%, 63%)
CMYKcmyk(0%, 85%, 65%, 37.3%)
CIE-LABlab(34.83, 54.30, 18.26)
CIE-LCHlch(34.83, 57.28, 18.58°)
OKLaboklab(45.96% 0.1626 0.044)
OKLCHoklch(45.96% 0.168 15.1)
XYZxyz(15.5394, 8.4148, 4.5466)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01838 #18A080
analogous
#A0187C #A01838 #A03C18
triadic
#A01838 #38A018 #1838A0
tetradic
#A01838 #7CA018 #18A080 #3C18A0
square
#A01838 #7CA018 #18A080 #3C18A0
split-complementary
#A01838 #18A03C #187CA0
monochromatic
#360813 #6B1025 #A01838 #D5204B #E44E71

Accessibility & contrast

On white

7.83
#A01838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#A01838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01838
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01838#FFFFFF#000000##FFFFFF
##A018381.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424038
Deuteranopia (green-blind)
#645C34
Tritanopia (blue-blind)
#B00027
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #a01838;
/* rgb */ color: rgb(160, 24, 56);
/* oklch */ color: oklch(46.0% 0.168 15.1);
Tailwind
colors: {
  custom: {
    50: '#c4666e',
    500: '#a01838',
    950: '#000000',
  },
}
SCSS
$custom: #a01838;
$custom-light: #c4666e;
$custom-dark: #000000;
JSON
{
  "hex": "#a01838",
  "rgb": {
    "r": 160,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 345.882,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45958,
    "c": 0.16842,
    "h": 15.1
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#A01838
secondary
#4DC6AA
accent
#F1C537
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A01838

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

Preview Lab → · Contrast checker → · Palette generator →

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