#A8274E#A8274E

#A8274E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.166 H 8.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A8274E
RGBrgb(168, 39, 78)
HSLhsl(342, 62%, 41%)
HSVhsv(342, 77%, 66%)
CMYKcmyk(0%, 76.8%, 53.6%, 34.1%)
CIE-LABlab(38.43, 53.87, 9.24)
CIE-LCHlch(38.43, 54.65, 9.74°)
OKLaboklab(49.05% 0.164 0.0237)
OKLCHoklch(49.05% 0.166 8.2)
XYZxyz(18.2508, 10.3285, 8.2388)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8274E #27A881
analogous
#A8278F #A8274E #A84027
triadic
#A8274E #4EA827 #274EA8
tetradic
#A8274E #8FA827 #27A881 #4027A8
square
#A8274E #8FA827 #27A881 #4027A8
split-complementary
#A8274E #27A840 #278FA8
monochromatic
#451020 #761B37 #A8274E #D13B68 #DD6C8E

Accessibility & contrast

On white

6.85
#A8274E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A8274E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8274E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8274E#FFFFFF#000000##FFFFFF
##A8274E1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A4F
Deuteranopia (green-blind)
#6A644B
Tritanopia (blue-blind)
#B80038
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a8274e;
/* rgb */ color: rgb(168, 39, 78);
/* oklch */ color: oklch(49.1% 0.166 8.2);
Tailwind
colors: {
  custom: {
    50: '#c86d7f',
    500: '#a8274e',
    950: '#000000',
  },
}
SCSS
$custom: #a8274e;
$custom-light: #c86d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8274e",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 341.86,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49054,
    "c": 0.16566,
    "h": 8.2
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#A8274E
secondary
#67C3A8
accent
#E5B442
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #A8274E

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

Preview Lab → · Contrast checker → · Palette generator →

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