#A12642#A12642

#A12642 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.4% C 0.158 H 12.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A12642
RGBrgb(161, 38, 66)
HSLhsl(346, 62%, 39%)
HSVhsv(346, 76%, 63%)
CMYKcmyk(0%, 76.4%, 59%, 36.9%)
CIE-LABlab(36.67, 51.21, 14.29)
CIE-LCHlch(36.67, 53.17, 15.59°)
OKLaboklab(47.42% 0.1544 0.0354)
OKLCHoklch(47.42% 0.158 12.9)
XYZxyz(16.3760, 9.3590, 6.0974)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12642 #26A185
analogous
#A12680 #A12642 #A14726
triadic
#A12642 #42A126 #2642A1
tetradic
#A12642 #80A126 #26A185 #4726A1
square
#A12642 #80A126 #26A185 #4726A1
split-complementary
#A12642 #26A147 #2680A1
monochromatic
#3E0F19 #6F1A2E #A12642 #CF3558 #DB6681

Accessibility & contrast

On white

7.31
#A12642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A12642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12642
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12642#FFFFFF#000000##FFFFFF
##A126421.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474642
Deuteranopia (green-blind)
#675F3F
Tritanopia (blue-blind)
#B00032
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12642;
/* rgb */ color: rgb(161, 38, 66);
/* oklch */ color: oklch(47.4% 0.158 12.9);
Tailwind
colors: {
  custom: {
    50: '#c36c76',
    500: '#a12642',
    950: '#000000',
  },
}
SCSS
$custom: #a12642;
$custom-light: #c36c76;
$custom-dark: #000000;
JSON
{
  "hex": "#a12642",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 66
  },
  "hsl": {
    "h": 346.341,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.15843,
    "h": 12.9
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#A12642
secondary
#62C1AB
accent
#E5C043
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A12642

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

Preview Lab → · Contrast checker → · Palette generator →

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