#A7234A#A7234A

#A7234A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.168 H 9.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A7234A
RGBrgb(167, 35, 74)
HSLhsl(342, 65%, 40%)
HSVhsv(342, 79%, 65%)
CMYKcmyk(0%, 79%, 55.7%, 34.5%)
CIE-LABlab(37.69, 54.51, 10.75)
CIE-LCHlch(37.69, 55.56, 11.15°)
OKLaboklab(48.44% 0.1656 0.0272)
OKLCHoklch(48.44% 0.168 9.3)
XYZxyz(17.7751, 9.9145, 7.4550)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7234A #23A780
analogous
#A7238C #A7234A #A73E23
triadic
#A7234A #4AA723 #234AA7
tetradic
#A7234A #8CA723 #23A780 #3E23A7
square
#A7234A #8CA723 #23A780 #3E23A7
split-complementary
#A7234A #23A73E #238CA7
monochromatic
#420E1D #741834 #A7234A #D43363 #DF6689

Accessibility & contrast

On white

7.04
#A7234A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A7234A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7234A
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7234A#FFFFFF#000000##FFFFFF
##A7234A1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484B
Deuteranopia (green-blind)
#696247
Tritanopia (blue-blind)
#B70034
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7234a;
/* rgb */ color: rgb(167, 35, 74);
/* oklch */ color: oklch(48.4% 0.168 9.3);
Tailwind
colors: {
  custom: {
    50: '#c86c7c',
    500: '#a7234a',
    950: '#000000',
  },
}
SCSS
$custom: #a7234a;
$custom-light: #c86c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7234a",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 74
  },
  "hsl": {
    "h": 342.273,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.16784,
    "h": 9.3
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#A7234A
secondary
#61C4A7
accent
#E8B63F
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B

Preview Lab

Preview with #A7234A

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

Preview Lab → · Contrast checker → · Palette generator →

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