#A12840#A12840

#A12840 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.6% C 0.156 H 14.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#A12840
RGBrgb(161, 40, 64)
HSLhsl(348, 60%, 39%)
HSVhsv(348, 75%, 63%)
CMYKcmyk(0%, 75.2%, 60.2%, 36.9%)
CIE-LABlab(36.87, 50.38, 15.84)
CIE-LCHlch(36.87, 52.82, 17.45°)
OKLaboklab(47.55% 0.1514 0.039)
OKLCHoklch(47.55% 0.156 14.4)
XYZxyz(16.3838, 9.4672, 5.8141)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12840 #28A189
analogous
#A1287D #A12840 #A14D28
triadic
#A12840 #40A128 #2840A1
tetradic
#A12840 #7DA128 #28A189 #4D28A1
square
#A12840 #7DA128 #28A189 #4D28A1
split-complementary
#A12840 #28A14D #287DA1
monochromatic
#3F1019 #701C2D #A12840 #CE3956 #DA6A80

Accessibility & contrast

On white

7.26
#A12840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A12840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12840
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12840#FFFFFF#000000##FFFFFF
##A128401.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494740
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#B00032
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12840;
/* rgb */ color: rgb(161, 40, 64);
/* oklch */ color: oklch(47.6% 0.156 14.4);
Tailwind
colors: {
  custom: {
    50: '#c36c74',
    500: '#a12840',
    950: '#000000',
  },
}
SCSS
$custom: #a12840;
$custom-light: #c36c74;
$custom-dark: #000000;
JSON
{
  "hex": "#a12840",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 348.099,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47552,
    "c": 0.15635,
    "h": 14.4
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#A12840
secondary
#65C0AE
accent
#E3C444
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A12840

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

Preview Lab → · Contrast checker → · Palette generator →

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