#A12038#A12038

#A12038 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.7% C 0.163 H 16.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#A12038
RGBrgb(161, 32, 56)
HSLhsl(349, 67%, 38%)
HSVhsv(349, 80%, 63%)
CMYKcmyk(0%, 80.1%, 65.2%, 36.9%)
CIE-LABlab(35.79, 52.45, 19.53)
CIE-LCHlch(35.79, 55.97, 20.43°)
OKLaboklab(46.7% 0.1565 0.0469)
OKLCHoklch(46.7% 0.163 16.7)
XYZxyz(15.9300, 8.8980, 4.6193)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12038 #20A189
analogous
#A12078 #A12038 #A14820
triadic
#A12038 #38A120 #2038A1
tetradic
#A12038 #78A120 #20A189 #4820A1
square
#A12038 #78A120 #20A189 #4820A1
split-complementary
#A12038 #20A148 #2078A1
monochromatic
#3B0C14 #6E1626 #A12038 #D42A4A #DF5D75

Accessibility & contrast

On white

7.56
#A12038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#A12038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12038
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12038#FFFFFF#000000##FFFFFF
##A120381.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464338
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#B1002B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a12038;
/* rgb */ color: rgb(161, 32, 56);
/* oklch */ color: oklch(46.7% 0.163 16.7);
Tailwind
colors: {
  custom: {
    50: '#c4696e',
    500: '#a12038',
    950: '#000000',
  },
}
SCSS
$custom: #a12038;
$custom-light: #c4696e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12038",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 348.837,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46699,
    "c": 0.16336,
    "h": 16.7
  },
  "luminance": 0.08896
}

Semantic roles & 50–950 ramp

primary
#A12038
secondary
#5AC3AF
accent
#EACA3E
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A12038

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

Preview Lab → · Contrast checker → · Palette generator →

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