#A7236B#A7236B

#A7236B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.178 H 352.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A7236B
RGBrgb(167, 35, 107)
HSLhsl(327, 65%, 40%)
HSVhsv(327, 79%, 65%)
CMYKcmyk(0%, 79%, 35.9%, 34.5%)
CIE-LABlab(38.69, 57.59, -8.81)
CIE-LCHlch(38.69, 58.26, 351.30°)
OKLaboklab(49.51% 0.1768 -0.0226)
OKLCHoklch(49.51% 0.178 352.7)
XYZxyz(19.1924, 10.4815, 14.9195)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7236B #23A75F
analogous
#A123A7 #A7236B #A72329
triadic
#A7236B #6BA723 #236BA7
tetradic
#A7236B #A7A123 #23A75F #2329A7
square
#A7236B #A7A123 #23A75F #2329A7
split-complementary
#A7236B #29A723 #23A7A1
monochromatic
#420E2A #74184B #A7236B #D4338B #DF66A8

Accessibility & contrast

On white

6.78
#A7236B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A7236B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7236B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7236B#FFFFFF#000000##FFFFFF
##A7236B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6D
Deuteranopia (green-blind)
#626468
Tritanopia (blue-blind)
#B41444
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7236b;
/* rgb */ color: rgb(167, 35, 107);
/* oklch */ color: oklch(49.5% 0.178 352.7);
Tailwind
colors: {
  custom: {
    50: '#c66d95',
    500: '#a7236b',
    950: '#000000',
  },
}
SCSS
$custom: #a7236b;
$custom-light: #c66d95;
$custom-dark: #000000;
JSON
{
  "hex": "#a7236b",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 327.273,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49508,
    "c": 0.17827,
    "h": 352.7
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#A7236B
secondary
#61C48E
accent
#E88C3F
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7236B

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

Preview Lab → · Contrast checker → · Palette generator →

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