#A8237E#A8237E

#A8237E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.5% C 0.189 H 344.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A8237E
RGBrgb(168, 35, 126)
HSLhsl(319, 66%, 40%)
HSVhsv(319, 79%, 66%)
CMYKcmyk(0%, 79.2%, 25%, 34.1%)
CIE-LABlab(39.64, 60.10, -19.22)
CIE-LCHlch(39.64, 63.10, 342.26°)
OKLaboklab(50.48% 0.182 -0.0513)
OKLCHoklch(50.48% 0.189 344.3)
XYZxyz(20.5162, 11.0355, 20.7842)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8237E #23A84D
analogous
#8F23A8 #A8237E #A8233C
triadic
#A8237E #7EA823 #237EA8
tetradic
#A8237E #A88F23 #23A84D #233CA8
square
#A8237E #A88F23 #23A84D #233CA8
split-complementary
#A8237E #3CA823 #23A88F
monochromatic
#430E32 #751858 #A8237E #D534A2 #DF66B9

Accessibility & contrast

On white

6.55
#A8237E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A8237E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8237E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8237E#FFFFFF#000000##FFFFFF
##A8237E1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#5E657B
Tritanopia (blue-blind)
#B3224E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8237e;
/* rgb */ color: rgb(168, 35, 126);
/* oklch */ color: oklch(50.5% 0.189 344.3);
Tailwind
colors: {
  custom: {
    50: '#c66da3',
    500: '#a8237e',
    950: '#000000',
  },
}
SCSS
$custom: #a8237e;
$custom-light: #c66da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8237e",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 318.947,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.18908,
    "h": 344.3
  },
  "luminance": 0.11033
}

Semantic roles & 50–950 ramp

primary
#A8237E
secondary
#62C581
accent
#E8753F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8237E

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

Preview Lab → · Contrast checker → · Palette generator →

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