#A02542#A02542

#A02542 is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.1% C 0.158 H 12.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#A02542
RGBrgb(160, 37, 66)
HSLhsl(346, 62%, 39%)
HSVhsv(346, 77%, 63%)
CMYKcmyk(0%, 76.9%, 58.8%, 37.3%)
CIE-LABlab(36.35, 51.25, 13.83)
CIE-LCHlch(36.35, 53.08, 15.10°)
OKLaboklab(47.15% 0.1547 0.0344)
OKLCHoklch(47.15% 0.158 12.5)
XYZxyz(16.1437, 9.1924, 6.0774)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02542 #25A083
analogous
#A0257F #A02542 #A04525
triadic
#A02542 #42A025 #2542A0
tetradic
#A02542 #7FA025 #25A083 #4525A0
square
#A02542 #7FA025 #25A083 #4525A0
split-complementary
#A02542 #25A045 #257FA0
monochromatic
#3D0E19 #6E1A2D #A02542 #D03258 #DB6480

Accessibility & contrast

On white

7.40
#A02542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A02542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02542
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02542#FFFFFF#000000##FFFFFF
##A025421.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464542
Deuteranopia (green-blind)
#665F3F
Tritanopia (blue-blind)
#AF0031
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a02542;
/* rgb */ color: rgb(160, 37, 66);
/* oklch */ color: oklch(47.1% 0.158 12.5);
Tailwind
colors: {
  custom: {
    50: '#c36b76',
    500: '#a02542',
    950: '#000000',
  },
}
SCSS
$custom: #a02542;
$custom-light: #c36b76;
$custom-dark: #000000;
JSON
{
  "hex": "#a02542",
  "rgb": {
    "r": 160,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 345.854,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47148,
    "c": 0.15843,
    "h": 12.5
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#A02542
secondary
#60C1AA
accent
#E6BF42
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A02542

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

Preview Lab → · Contrast checker → · Palette generator →

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