#A8237B#A8237B

#A8237B is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.187 H 345.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A8237B
RGBrgb(168, 35, 123)
HSLhsl(320, 66%, 40%)
HSVhsv(320, 79%, 66%)
CMYKcmyk(0%, 79.2%, 26.8%, 34.1%)
CIE-LABlab(39.51, 59.73, -17.56)
CIE-LCHlch(39.51, 62.25, 343.62°)
OKLaboklab(50.34% 0.1814 -0.0467)
OKLCHoklch(50.34% 0.187 345.6)
XYZxyz(20.3256, 10.9592, 19.7800)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8237B #23A850
analogous
#9323A8 #A8237B #A82338
triadic
#A8237B #7BA823 #237BA8
tetradic
#A8237B #A89323 #23A850 #2338A8
square
#A8237B #A89323 #23A850 #2338A8
split-complementary
#A8237B #38A823 #23A893
monochromatic
#430E31 #751856 #A8237B #D5349E #DF66B6

Accessibility & contrast

On white

6.58
#A8237B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A8237B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8237B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8237B#FFFFFF#000000##FFFFFF
##A8237B1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#5E6578
Tritanopia (blue-blind)
#B4204D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8237b;
/* rgb */ color: rgb(168, 35, 123);
/* oklch */ color: oklch(50.3% 0.187 345.6);
Tailwind
colors: {
  custom: {
    50: '#c66da1',
    500: '#a8237b',
    950: '#000000',
  },
}
SCSS
$custom: #a8237b;
$custom-light: #c66da1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8237b",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 320.301,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.18733,
    "h": 345.6
  },
  "luminance": 0.10957
}

Semantic roles & 50–950 ramp

primary
#A8237B
secondary
#62C583
accent
#E8793F
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #A8237B

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

Preview Lab → · Contrast checker → · Palette generator →

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