#A6237E#A6237E

#A6237E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.188 H 343.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A6237E
RGBrgb(166, 35, 126)
HSLhsl(318, 65%, 39%)
HSVhsv(318, 79%, 65%)
CMYKcmyk(0%, 78.9%, 24.1%, 34.9%)
CIE-LABlab(39.27, 59.62, -19.82)
CIE-LCHlch(39.27, 62.83, 341.61°)
OKLaboklab(50.14% 0.1802 -0.053)
OKLCHoklch(50.14% 0.188 343.6)
XYZxyz(20.0936, 10.8176, 20.7644)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6237E #23A64B
analogous
#8D23A6 #A6237E #A6233C
triadic
#A6237E #7EA623 #237EA6
tetradic
#A6237E #A68D23 #23A64B #233CA6
square
#A6237E #A68D23 #23A64B #233CA6
split-complementary
#A6237E #3CA623 #23A68D
monochromatic
#410E31 #731858 #A6237E #D432A3 #DF65B9

Accessibility & contrast

On white

6.64
#A6237E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A6237E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6237E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6237E#FFFFFF#000000##FFFFFF
##A6237E1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#B1234E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a6237e;
/* rgb */ color: rgb(166, 35, 126);
/* oklch */ color: oklch(50.1% 0.188 343.6);
Tailwind
colors: {
  custom: {
    50: '#c56da3',
    500: '#a6237e',
    950: '#000000',
  },
}
SCSS
$custom: #a6237e;
$custom-light: #c56da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6237e",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 318.321,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50144,
    "c": 0.18781,
    "h": 343.6
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#A6237E
secondary
#61C47F
accent
#E87340
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A6237E

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

Preview Lab → · Contrast checker → · Palette generator →

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