#A12640#A12640

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

Color values

HEX#A12640
RGBrgb(161, 38, 64)
HSLhsl(347, 62%, 39%)
HSVhsv(347, 76%, 63%)
CMYKcmyk(0%, 76.4%, 60.2%, 36.9%)
CIE-LABlab(36.62, 51.07, 15.51)
CIE-LCHlch(36.62, 53.38, 16.89°)
OKLaboklab(47.37% 0.1536 0.0382)
OKLCHoklch(47.37% 0.158 14)
XYZxyz(16.3181, 9.3358, 5.7922)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12640 #26A187
analogous
#A1267E #A12640 #A14A26
triadic
#A12640 #40A126 #2640A1
tetradic
#A12640 #7EA126 #26A187 #4A26A1
square
#A12640 #7EA126 #26A187 #4A26A1
split-complementary
#A12640 #26A14A #267EA1
monochromatic
#3E0F19 #6F1A2C #A12640 #CF3556 #DB667F

Accessibility & contrast

On white

7.33
#A12640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12640
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12640#FFFFFF#000000##FFFFFF
##A126401.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484640
Deuteranopia (green-blind)
#675F3D
Tritanopia (blue-blind)
#B00031
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12640;
/* rgb */ color: rgb(161, 38, 64);
/* oklch */ color: oklch(47.4% 0.158 14.0);
Tailwind
colors: {
  custom: {
    50: '#c36c74',
    500: '#a12640',
    950: '#000000',
  },
}
SCSS
$custom: #a12640;
$custom-light: #c36c74;
$custom-dark: #000000;
JSON
{
  "hex": "#a12640",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 347.317,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.1583,
    "h": 14
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#A12640
secondary
#62C1AD
accent
#E5C343
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A12640

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

Preview Lab → · Contrast checker → · Palette generator →

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