#A12340#A12340

#A12340 is a mid, vivid red. Relative luminance 0.091; OKLCH L 47.1% C 0.161 H 13.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A12340
RGBrgb(161, 35, 64)
HSLhsl(346, 64%, 38%)
HSVhsv(346, 78%, 63%)
CMYKcmyk(0%, 78.3%, 60.2%, 36.9%)
CIE-LABlab(36.27, 52.05, 15.04)
CIE-LCHlch(36.27, 54.18, 16.12°)
OKLaboklab(47.11% 0.1568 0.0371)
OKLCHoklch(47.11% 0.161 13.3)
XYZxyz(16.2260, 9.1517, 5.7615)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12340 #23A184
analogous
#A1237F #A12340 #A14523
triadic
#A12340 #40A123 #2340A1
tetradic
#A12340 #7FA123 #23A184 #4523A1
square
#A12340 #7FA123 #23A184 #4523A1
split-complementary
#A12340 #23A145 #237FA1
monochromatic
#3C0D18 #6F182C #A12340 #D22F55 #DD627E

Accessibility & contrast

On white

7.42
#A12340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12340
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12340#FFFFFF#000000##FFFFFF
##A123401.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464540
Deuteranopia (green-blind)
#665F3D
Tritanopia (blue-blind)
#B1002F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12340;
/* rgb */ color: rgb(161, 35, 64);
/* oklch */ color: oklch(47.1% 0.161 13.3);
Tailwind
colors: {
  custom: {
    50: '#c46a74',
    500: '#a12340',
    950: '#000000',
  },
}
SCSS
$custom: #a12340;
$custom-light: #c46a74;
$custom-dark: #000000;
JSON
{
  "hex": "#a12340",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 346.19,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47112,
    "c": 0.16109,
    "h": 13.3
  },
  "luminance": 0.09149
}

Semantic roles & 50–950 ramp

primary
#A12340
secondary
#5EC2AB
accent
#E7C141
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A12340

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

Preview Lab → · Contrast checker → · Palette generator →

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