#A6237C#A6237C

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

Color values

HEX#A6237C
RGBrgb(166, 35, 124)
HSLhsl(319, 65%, 39%)
HSVhsv(319, 79%, 65%)
CMYKcmyk(0%, 78.9%, 25.3%, 34.9%)
CIE-LABlab(39.18, 59.36, -18.72)
CIE-LCHlch(39.18, 62.24, 342.50°)
OKLaboklab(50.05% 0.1798 -0.0499)
OKLCHoklch(50.05% 0.187 344.5)
XYZxyz(19.9659, 10.7665, 20.0916)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6237C #23A64D
analogous
#8F23A6 #A6237C #A6233A
triadic
#A6237C #7CA623 #237CA6
tetradic
#A6237C #A68F23 #23A64D #233AA6
square
#A6237C #A68F23 #23A64D #233AA6
split-complementary
#A6237C #3AA623 #23A68F
monochromatic
#410E30 #731856 #A6237C #D432A0 #DF65B8

Accessibility & contrast

On white

6.66
#A6237C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A6237C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6237C
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6237C#FFFFFF#000000##FFFFFF
##A6237C1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7E
Deuteranopia (green-blind)
#5D6479
Tritanopia (blue-blind)
#B1214D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a6237c;
/* rgb */ color: rgb(166, 35, 124);
/* oklch */ color: oklch(50.1% 0.187 344.5);
Tailwind
colors: {
  custom: {
    50: '#c56da2',
    500: '#a6237c',
    950: '#000000',
  },
}
SCSS
$custom: #a6237c;
$custom-light: #c56da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6237c",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 319.237,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50052,
    "c": 0.18662,
    "h": 344.5
  },
  "luminance": 0.10764
}

Semantic roles & 50–950 ramp

primary
#A6237C
secondary
#61C481
accent
#E87640
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A6237C

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

Preview Lab → · Contrast checker → · Palette generator →

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