#A6238D#A6238D

#A6238D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.9% C 0.197 H 337.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A6238D
RGBrgb(166, 35, 141)
HSLhsl(311, 65%, 39%)
HSVhsv(311, 79%, 65%)
CMYKcmyk(0%, 78.9%, 15.1%, 34.9%)
CIE-LABlab(39.97, 61.66, -27.97)
CIE-LCHlch(39.97, 67.71, 335.60°)
OKLaboklab(50.88% 0.1821 -0.0761)
OKLCHoklch(50.88% 0.197 337.3)
XYZxyz(21.1351, 11.2342, 26.2495)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6238D #23A63C
analogous
#7D23A6 #A6238D #A6234C
triadic
#A6238D #8DA623 #238DA6
tetradic
#A6238D #A67D23 #23A63C #234CA6
square
#A6238D #A67D23 #23A63C #234CA6
split-complementary
#A6238D #4CA623 #23A67D
monochromatic
#410E37 #731862 #A6238D #D432B5 #DF65C7

Accessibility & contrast

On white

6.47
#A6238D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A6238D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6238D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6238D#FFFFFF#000000##FFFFFF
##A6238D1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#AF2C57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6238d;
/* rgb */ color: rgb(166, 35, 141);
/* oklch */ color: oklch(50.9% 0.197 337.3);
Tailwind
colors: {
  custom: {
    50: '#c46eae',
    500: '#a6238d',
    950: '#000000',
  },
}
SCSS
$custom: #a6238d;
$custom-light: #c46eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6238d",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 311.45,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.1974,
    "h": 337.3
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#A6238D
secondary
#61C474
accent
#E86040
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6238D

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

Preview Lab → · Contrast checker → · Palette generator →

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