#A6238F#A6238F

#A6238F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 51.0% C 0.199 H 336.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A6238F
RGBrgb(166, 35, 143)
HSLhsl(311, 65%, 39%)
HSVhsv(311, 79%, 65%)
CMYKcmyk(0%, 78.9%, 13.9%, 34.9%)
CIE-LABlab(40.07, 61.95, -29.04)
CIE-LCHlch(40.07, 68.41, 334.88°)
OKLaboklab(50.98% 0.1823 -0.0792)
OKLCHoklch(50.98% 0.199 336.5)
XYZxyz(21.2852, 11.2942, 27.0403)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6238F #23A63A
analogous
#7B23A6 #A6238F #A6234E
triadic
#A6238F #8FA623 #238FA6
tetradic
#A6238F #A67B23 #23A63A #234EA6
square
#A6238F #A67B23 #23A63A #234EA6
split-complementary
#A6238F #4EA623 #23A67B
monochromatic
#410E38 #731863 #A6238F #D432B7 #DF65C9

Accessibility & contrast

On white

6.44
#A6238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A6238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6238F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6238F#FFFFFF#000000##FFFFFF
##A6238F1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#AF2D58
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6238f;
/* rgb */ color: rgb(166, 35, 143);
/* oklch */ color: oklch(51.0% 0.199 336.5);
Tailwind
colors: {
  custom: {
    50: '#c46eb0',
    500: '#a6238f',
    950: '#000000',
  },
}
SCSS
$custom: #a6238f;
$custom-light: #c46eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6238f",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 310.534,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.19875,
    "h": 336.5
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#A6238F
secondary
#61C472
accent
#E85D40
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6238F

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

Preview Lab → · Contrast checker → · Palette generator →

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