#A6237A#A6237A

#A6237A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.185 H 345.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A6237A
RGBrgb(166, 35, 122)
HSLhsl(320, 65%, 39%)
HSVhsv(320, 79%, 65%)
CMYKcmyk(0%, 78.9%, 26.5%, 34.9%)
CIE-LABlab(39.10, 59.11, -17.61)
CIE-LCHlch(39.10, 61.68, 343.41°)
OKLaboklab(49.96% 0.1795 -0.0468)
OKLCHoklch(49.96% 0.185 345.4)
XYZxyz(19.8407, 10.7164, 19.4322)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6237A #23A64F
analogous
#9123A6 #A6237A #A62338
triadic
#A6237A #7AA623 #237AA6
tetradic
#A6237A #A69123 #23A64F #2338A6
square
#A6237A #A69123 #23A64F #2338A6
split-complementary
#A6237A #38A623 #23A691
monochromatic
#410E30 #731855 #A6237A #D4329E #DF65B6

Accessibility & contrast

On white

6.68
#A6237A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A6237A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6237A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6237A#FFFFFF#000000##FFFFFF
##A6237A1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#B2204C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a6237a;
/* rgb */ color: rgb(166, 35, 122);
/* oklch */ color: oklch(50.0% 0.185 345.4);
Tailwind
colors: {
  custom: {
    50: '#c56da0',
    500: '#a6237a',
    950: '#000000',
  },
}
SCSS
$custom: #a6237a;
$custom-light: #c56da0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6237a",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 320.153,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.18546,
    "h": 345.4
  },
  "luminance": 0.10714
}

Semantic roles & 50–950 ramp

primary
#A6237A
secondary
#61C482
accent
#E87840
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A6237A

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

Preview Lab → · Contrast checker → · Palette generator →

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