#A6237F#A6237F

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

Color values

HEX#A6237F
RGBrgb(166, 35, 127)
HSLhsl(318, 65%, 39%)
HSVhsv(318, 79%, 65%)
CMYKcmyk(0%, 78.9%, 23.5%, 34.9%)
CIE-LABlab(39.32, 59.75, -20.38)
CIE-LCHlch(39.32, 63.13, 341.17°)
OKLaboklab(50.19% 0.1803 -0.0546)
OKLCHoklch(50.19% 0.188 343.2)
XYZxyz(20.1585, 10.8435, 21.1060)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6237F #23A64A
analogous
#8C23A6 #A6237F #A6233D
triadic
#A6237F #7FA623 #237FA6
tetradic
#A6237F #A68C23 #23A64A #233DA6
square
#A6237F #A68C23 #23A64A #233DA6
split-complementary
#A6237F #3DA623 #23A68C
monochromatic
#410E32 #731858 #A6237F #D432A4 #DF65BA

Accessibility & contrast

On white

6.63
#A6237F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A6237F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6237F
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6237F#FFFFFF#000000##FFFFFF
##A6237F1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F81
Deuteranopia (green-blind)
#5C647C
Tritanopia (blue-blind)
#B1234F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6237f;
/* rgb */ color: rgb(166, 35, 127);
/* oklch */ color: oklch(50.2% 0.188 343.2);
Tailwind
colors: {
  custom: {
    50: '#c56da4',
    500: '#a6237f',
    950: '#000000',
  },
}
SCSS
$custom: #a6237f;
$custom-light: #c56da4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6237f",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 317.863,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.18842,
    "h": 343.2
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#A6237F
secondary
#61C47E
accent
#E87240
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A6237F

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

Preview Lab → · Contrast checker → · Palette generator →

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