#A7274E#A7274E

#A7274E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.165 H 8.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A7274E
RGBrgb(167, 39, 78)
HSLhsl(342, 62%, 40%)
HSVhsv(342, 77%, 65%)
CMYKcmyk(0%, 76.6%, 53.3%, 34.5%)
CIE-LABlab(38.23, 53.58, 8.95)
CIE-LCHlch(38.23, 54.32, 9.48°)
OKLaboklab(48.88% 0.1631 0.023)
OKLCHoklch(48.88% 0.165 8)
XYZxyz(18.0387, 10.2191, 8.2289)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7274E #27A780
analogous
#A7278E #A7274E #A74027
triadic
#A7274E #4EA727 #274EA7
tetradic
#A7274E #8EA727 #27A780 #4027A7
square
#A7274E #8EA727 #27A780 #4027A7
split-complementary
#A7274E #27A740 #278EA7
monochromatic
#441020 #751B37 #A7274E #D13A68 #DD6C8E

Accessibility & contrast

On white

6.90
#A7274E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A7274E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7274E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7274E#FFFFFF#000000##FFFFFF
##A7274E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A4F
Deuteranopia (green-blind)
#69634B
Tritanopia (blue-blind)
#B60038
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7274e;
/* rgb */ color: rgb(167, 39, 78);
/* oklch */ color: oklch(48.9% 0.165 8.0);
Tailwind
colors: {
  custom: {
    50: '#c76d7f',
    500: '#a7274e',
    950: '#000000',
  },
}
SCSS
$custom: #a7274e;
$custom-light: #c76d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7274e",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 341.719,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48877,
    "c": 0.16474,
    "h": 8
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#A7274E
secondary
#67C3A7
accent
#E5B443
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #A7274E

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

Preview Lab → · Contrast checker → · Palette generator →

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