#A6274E#A6274E

#A6274E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.164 H 7.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A6274E
RGBrgb(166, 39, 78)
HSLhsl(342, 62%, 40%)
HSVhsv(342, 77%, 65%)
CMYKcmyk(0%, 76.5%, 53%, 34.9%)
CIE-LABlab(38.04, 53.28, 8.65)
CIE-LCHlch(38.04, 53.98, 9.22°)
OKLaboklab(48.7% 0.1623 0.0222)
OKLCHoklch(48.7% 0.164 7.8)
XYZxyz(17.8282, 10.1106, 8.2190)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6274E #27A67F
analogous
#A6278D #A6274E #A64027
triadic
#A6274E #4EA627 #274EA6
tetradic
#A6274E #8DA627 #27A67F #4027A6
square
#A6274E #8DA627 #27A67F #4027A6
split-complementary
#A6274E #27A640 #278DA6
monochromatic
#43101F #741B37 #A6274E #D13A68 #DC6B8E

Accessibility & contrast

On white

6.95
#A6274E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A6274E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6274E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6274E#FFFFFF#000000##FFFFFF
##A6274E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#69634B
Tritanopia (blue-blind)
#B50138
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6274e;
/* rgb */ color: rgb(166, 39, 78);
/* oklch */ color: oklch(48.7% 0.164 7.8);
Tailwind
colors: {
  custom: {
    50: '#c66d7f',
    500: '#a6274e',
    950: '#000000',
  },
}
SCSS
$custom: #a6274e;
$custom-light: #c66d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6274e",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 341.575,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.487,
    "c": 0.16381,
    "h": 7.8
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#A6274E
secondary
#66C3A6
accent
#E5B343
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A6274E

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

Preview Lab → · Contrast checker → · Palette generator →

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