#A12740#A12740

#A12740 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.157 H 14.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A12740
RGBrgb(161, 39, 64)
HSLhsl(348, 61%, 39%)
HSVhsv(348, 76%, 63%)
CMYKcmyk(0%, 75.8%, 60.2%, 36.9%)
CIE-LABlab(36.74, 50.73, 15.67)
CIE-LCHlch(36.74, 53.10, 17.17°)
OKLaboklab(47.46% 0.1525 0.0386)
OKLCHoklch(47.46% 0.157 14.2)
XYZxyz(16.3505, 9.4006, 5.8030)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12740 #27A188
analogous
#A1277D #A12740 #A14B27
triadic
#A12740 #40A127 #2740A1
tetradic
#A12740 #7DA127 #27A188 #4B27A1
square
#A12740 #7DA127 #27A188 #4B27A1
split-complementary
#A12740 #27A14B #277DA1
monochromatic
#3E0F19 #701B2C #A12740 #CE3756 #DA687F

Accessibility & contrast

On white

7.29
#A12740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A12740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12740
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12740#FFFFFF#000000##FFFFFF
##A127401.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12740;
/* rgb */ color: rgb(161, 39, 64);
/* oklch */ color: oklch(47.5% 0.157 14.2);
Tailwind
colors: {
  custom: {
    50: '#c36c74',
    500: '#a12740',
    950: '#000000',
  },
}
SCSS
$custom: #a12740;
$custom-light: #c36c74;
$custom-dark: #000000;
JSON
{
  "hex": "#a12740",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 347.705,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4746,
    "c": 0.15733,
    "h": 14.2
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#A12740
secondary
#63C0AD
accent
#E4C344
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A12740

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

Preview Lab → · Contrast checker → · Palette generator →

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