#A7234E#A7234E

#A7234E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.169 H 7.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A7234E
RGBrgb(167, 35, 78)
HSLhsl(340, 65%, 40%)
HSVhsv(340, 79%, 65%)
CMYKcmyk(0%, 79%, 53.3%, 34.5%)
CIE-LABlab(37.79, 54.83, 8.32)
CIE-LCHlch(37.79, 55.45, 8.63°)
OKLaboklab(48.55% 0.1672 0.0214)
OKLCHoklch(48.55% 0.169 7.3)
XYZxyz(17.9142, 9.9702, 8.1874)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7234E #23A77C
analogous
#A72390 #A7234E #A73A23
triadic
#A7234E #4EA723 #234EA7
tetradic
#A7234E #90A723 #23A77C #3A23A7
square
#A7234E #90A723 #23A77C #3A23A7
split-complementary
#A7234E #23A73A #2390A7
monochromatic
#420E1F #741836 #A7234E #D43367 #DF668D

Accessibility & contrast

On white

7.01
#A7234E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A7234E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7234E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7234E#FFFFFF#000000##FFFFFF
##A7234E1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484F
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#B60036
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7234e;
/* rgb */ color: rgb(167, 35, 78);
/* oklch */ color: oklch(48.5% 0.169 7.3);
Tailwind
colors: {
  custom: {
    50: '#c76c7f',
    500: '#a7234e',
    950: '#000000',
  },
}
SCSS
$custom: #a7234e;
$custom-light: #c76c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7234e",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 78
  },
  "hsl": {
    "h": 340.455,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4855,
    "c": 0.16853,
    "h": 7.3
  },
  "luminance": 0.09968
}

Semantic roles & 50–950 ramp

primary
#A7234E
secondary
#61C4A4
accent
#E8B13F
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #A7234E

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

Preview Lab → · Contrast checker → · Palette generator →

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