#A6236C#A6236C

#A6236C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.178 H 351.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A6236C
RGBrgb(166, 35, 108)
HSLhsl(327, 65%, 39%)
HSVhsv(327, 79%, 65%)
CMYKcmyk(0%, 78.9%, 34.9%, 34.9%)
CIE-LABlab(38.54, 57.44, -9.69)
CIE-LCHlch(38.54, 58.25, 350.43°)
OKLaboklab(49.37% 0.1762 -0.025)
OKLCHoklch(49.37% 0.178 351.9)
XYZxyz(19.0349, 10.3941, 15.1883)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6236C #23A65D
analogous
#9F23A6 #A6236C #A6232B
triadic
#A6236C #6CA623 #236CA6
tetradic
#A6236C #A69F23 #23A65D #232BA6
square
#A6236C #A69F23 #23A65D #232BA6
split-complementary
#A6236C #2BA623 #23A69F
monochromatic
#410E2A #73184B #A6236C #D4328C #DF65A9

Accessibility & contrast

On white

6.82
#A6236C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A6236C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6236C
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6236C#FFFFFF#000000##FFFFFF
##A6236C1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C6E
Deuteranopia (green-blind)
#616369
Tritanopia (blue-blind)
#B31645
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a6236c;
/* rgb */ color: rgb(166, 35, 108);
/* oklch */ color: oklch(49.4% 0.178 351.9);
Tailwind
colors: {
  custom: {
    50: '#c56c96',
    500: '#a6236c',
    950: '#000000',
  },
}
SCSS
$custom: #a6236c;
$custom-light: #c56c96;
$custom-dark: #000000;
JSON
{
  "hex": "#a6236c",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 326.565,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49374,
    "c": 0.17801,
    "h": 351.9
  },
  "luminance": 0.10392
}

Semantic roles & 50–950 ramp

primary
#A6236C
secondary
#61C48D
accent
#E88A40
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A6236C

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

Preview Lab → · Contrast checker → · Palette generator →

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