#A12040#A12040

#A12040 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.9% C 0.164 H 12.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A12040
RGBrgb(161, 32, 64)
HSLhsl(345, 67%, 38%)
HSVhsv(345, 80%, 63%)
CMYKcmyk(0%, 80.1%, 60.2%, 36.9%)
CIE-LABlab(35.95, 52.96, 14.61)
CIE-LCHlch(35.95, 54.94, 15.42°)
OKLaboklab(46.87% 0.1597 0.0361)
OKLCHoklch(46.87% 0.164 12.7)
XYZxyz(16.1415, 8.9827, 5.7334)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12040 #20A181
analogous
#A12080 #A12040 #A14020
triadic
#A12040 #40A120 #2040A1
tetradic
#A12040 #80A120 #20A181 #4020A1
square
#A12040 #80A120 #20A181 #4020A1
split-complementary
#A12040 #20A140 #2080A1
monochromatic
#3B0C17 #6E162C #A12040 #D42A54 #DF5D7D

Accessibility & contrast

On white

7.51
#A12040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#A12040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12040
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12040#FFFFFF#000000##FFFFFF
##A120401.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#665E3D
Tritanopia (blue-blind)
#B1002E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12040;
/* rgb */ color: rgb(161, 32, 64);
/* oklch */ color: oklch(46.9% 0.164 12.7);
Tailwind
colors: {
  custom: {
    50: '#c46974',
    500: '#a12040',
    950: '#000000',
  },
}
SCSS
$custom: #a12040;
$custom-light: #c46974;
$custom-dark: #000000;
JSON
{
  "hex": "#a12040",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 345.116,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46873,
    "c": 0.16373,
    "h": 12.7
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#A12040
secondary
#5AC3A9
accent
#EABF3E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A12040

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

Preview Lab → · Contrast checker → · Palette generator →

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