#A12342#A12342

#A12342 is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.2% C 0.161 H 12.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#A12342
RGBrgb(161, 35, 66)
HSLhsl(345, 64%, 38%)
HSVhsv(345, 78%, 63%)
CMYKcmyk(0%, 78.3%, 59%, 36.9%)
CIE-LABlab(36.32, 52.19, 13.82)
CIE-LCHlch(36.32, 53.99, 14.83°)
OKLaboklab(47.16% 0.1576 0.0343)
OKLCHoklch(47.16% 0.161 12.3)
XYZxyz(16.2840, 9.1749, 6.0667)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12342 #23A182
analogous
#A12381 #A12342 #A14323
triadic
#A12342 #42A123 #2342A1
tetradic
#A12342 #81A123 #23A182 #4323A1
square
#A12342 #81A123 #23A182 #4323A1
split-complementary
#A12342 #23A143 #2381A1
monochromatic
#3C0D19 #6F182D #A12342 #D22F57 #DD6280

Accessibility & contrast

On white

7.41
#A12342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#A12342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12342
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12342#FFFFFF#000000##FFFFFF
##A123421.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464542
Deuteranopia (green-blind)
#665F3F
Tritanopia (blue-blind)
#B00030
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12342;
/* rgb */ color: rgb(161, 35, 66);
/* oklch */ color: oklch(47.2% 0.161 12.3);
Tailwind
colors: {
  custom: {
    50: '#c36a76',
    500: '#a12342',
    950: '#000000',
  },
}
SCSS
$custom: #a12342;
$custom-light: #c36a76;
$custom-dark: #000000;
JSON
{
  "hex": "#a12342",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 66
  },
  "hsl": {
    "h": 345.238,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47159,
    "c": 0.16126,
    "h": 12.3
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#A12342
secondary
#5EC2A9
accent
#E7BE41
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A12342

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

Preview Lab → · Contrast checker → · Palette generator →

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