#A8237D#A8237D

#A8237D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.188 H 344.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A8237D
RGBrgb(168, 35, 125)
HSLhsl(319, 66%, 40%)
HSVhsv(319, 79%, 66%)
CMYKcmyk(0%, 79.2%, 25.6%, 34.1%)
CIE-LABlab(39.60, 59.98, -18.67)
CIE-LCHlch(39.60, 62.82, 342.71°)
OKLaboklab(50.43% 0.1818 -0.0498)
OKLCHoklch(50.43% 0.188 344.7)
XYZxyz(20.4520, 11.0098, 20.4461)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8237D #23A84E
analogous
#9023A8 #A8237D #A8233B
triadic
#A8237D #7DA823 #237DA8
tetradic
#A8237D #A89023 #23A84E #233BA8
square
#A8237D #A89023 #23A84E #233BA8
split-complementary
#A8237D #3BA823 #23A890
monochromatic
#430E32 #751857 #A8237D #D534A1 #DF66B8

Accessibility & contrast

On white

6.56
#A8237D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A8237D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8237D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8237D#FFFFFF#000000##FFFFFF
##A8237D1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#B4214E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8237d;
/* rgb */ color: rgb(168, 35, 125);
/* oklch */ color: oklch(50.4% 0.188 344.7);
Tailwind
colors: {
  custom: {
    50: '#c66da2',
    500: '#a8237d',
    950: '#000000',
  },
}
SCSS
$custom: #a8237d;
$custom-light: #c66da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8237d",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 319.398,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50433,
    "c": 0.18849,
    "h": 344.7
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#A8237D
secondary
#62C582
accent
#E8763F
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8237D

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

Preview Lab → · Contrast checker → · Palette generator →

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