#A8236B#A8236B

#A8236B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.179 H 353.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A8236B
RGBrgb(168, 35, 107)
HSLhsl(328, 66%, 40%)
HSVhsv(328, 79%, 66%)
CMYKcmyk(0%, 79.2%, 36.3%, 34.1%)
CIE-LABlab(38.88, 57.85, -8.51)
CIE-LCHlch(38.88, 58.47, 351.64°)
OKLaboklab(49.68% 0.1777 -0.0218)
OKLCHoklch(49.68% 0.179 353)
XYZxyz(19.4046, 10.5908, 14.9295)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8236B #23A860
analogous
#A323A8 #A8236B #A82328
triadic
#A8236B #6BA823 #236BA8
tetradic
#A8236B #A8A323 #23A860 #2328A8
square
#A8236B #A8A323 #23A860 #2328A8
split-complementary
#A8236B #28A823 #23A8A3
monochromatic
#430E2A #75184B #A8236B #D5348B #DF66A8

Accessibility & contrast

On white

6.74
#A8236B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A8236B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8236B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8236B#FFFFFF#000000##FFFFFF
##A8236B1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6D
Deuteranopia (green-blind)
#636468
Tritanopia (blue-blind)
#B51344
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a8236b;
/* rgb */ color: rgb(168, 35, 107);
/* oklch */ color: oklch(49.7% 0.179 353.0);
Tailwind
colors: {
  custom: {
    50: '#c76d95',
    500: '#a8236b',
    950: '#000000',
  },
}
SCSS
$custom: #a8236b;
$custom-light: #c76d95;
$custom-dark: #000000;
JSON
{
  "hex": "#a8236b",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 327.519,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4968,
    "c": 0.179,
    "h": 353
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#A8236B
secondary
#62C58F
accent
#E88D3F
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A8236B

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

Preview Lab → · Contrast checker → · Palette generator →

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