#A62540#A62540

#A62540 is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.2% C 0.164 H 14.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A62540
RGBrgb(166, 37, 64)
HSLhsl(347, 64%, 40%)
HSVhsv(347, 78%, 65%)
CMYKcmyk(0%, 77.7%, 61.4%, 34.9%)
CIE-LABlab(37.49, 52.90, 16.84)
CIE-LCHlch(37.49, 55.51, 17.66°)
OKLaboklab(48.19% 0.1588 0.0412)
OKLCHoklch(48.19% 0.164 14.5)
XYZxyz(17.3147, 9.8029, 5.8299)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62540 #25A68B
analogous
#A62581 #A62540 #A64B25
triadic
#A62540 #40A625 #2540A6
tetradic
#A62540 #81A625 #25A68B #4B25A6
square
#A62540 #81A625 #25A68B #4B25A6
split-complementary
#A62540 #25A64B #2581A6
monochromatic
#420F19 #741A2D #A62540 #D23657 #DD6881

Accessibility & contrast

On white

7.09
#A62540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A62540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A62540
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62540#FFFFFF#000000##FFFFFF
##A625401.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494740
Deuteranopia (green-blind)
#6A623D
Tritanopia (blue-blind)
#B60031
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a62540;
/* rgb */ color: rgb(166, 37, 64);
/* oklch */ color: oklch(48.2% 0.164 14.5);
Tailwind
colors: {
  custom: {
    50: '#c76c74',
    500: '#a62540',
    950: '#000000',
  },
}
SCSS
$custom: #a62540;
$custom-light: #c76c74;
$custom-dark: #000000;
JSON
{
  "hex": "#a62540",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 347.442,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48185,
    "c": 0.16409,
    "h": 14.5
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#A62540
secondary
#64C3AF
accent
#E7C441
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140808
muted
#837B7B

Preview Lab

Preview with #A62540

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

Preview Lab → · Contrast checker → · Palette generator →

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