#A12540#A12540

#A12540 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.3% C 0.159 H 13.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#A12540
RGBrgb(161, 37, 64)
HSLhsl(347, 63%, 39%)
HSVhsv(347, 77%, 63%)
CMYKcmyk(0%, 77%, 60.2%, 36.9%)
CIE-LABlab(36.50, 51.41, 15.35)
CIE-LCHlch(36.50, 53.65, 16.63°)
OKLaboklab(47.28% 0.1547 0.0378)
OKLCHoklch(47.28% 0.159 13.7)
XYZxyz(16.2866, 9.2727, 5.7817)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12540 #25A186
analogous
#A1257E #A12540 #A14825
triadic
#A12540 #40A125 #2540A1
tetradic
#A12540 #7EA125 #25A186 #4825A1
square
#A12540 #7EA125 #25A186 #4825A1
split-complementary
#A12540 #25A148 #257EA1
monochromatic
#3D0E18 #6F1A2C #A12540 #D03355 #DC657F

Accessibility & contrast

On white

7.36
#A12540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A12540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12540
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12540#FFFFFF#000000##FFFFFF
##A125401.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12540;
/* rgb */ color: rgb(161, 37, 64);
/* oklch */ color: oklch(47.3% 0.159 13.7);
Tailwind
colors: {
  custom: {
    50: '#c36b74',
    500: '#a12540',
    950: '#000000',
  },
}
SCSS
$custom: #a12540;
$custom-light: #c36b74;
$custom-dark: #000000;
JSON
{
  "hex": "#a12540",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 346.935,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.15925,
    "h": 13.7
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#A12540
secondary
#61C1AC
accent
#E6C242
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A12540

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

Preview Lab → · Contrast checker → · Palette generator →

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