#A8238F#A8238F

#A8238F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.3% C 0.200 H 337.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A8238F
RGBrgb(168, 35, 143)
HSLhsl(311, 66%, 40%)
HSVhsv(311, 79%, 66%)
CMYKcmyk(0%, 79.2%, 14.9%, 34.1%)
CIE-LABlab(40.43, 62.40, -28.45)
CIE-LCHlch(40.43, 68.58, 335.49°)
OKLaboklab(51.31% 0.1842 -0.0775)
OKLCHoklch(51.31% 0.2 337.2)
XYZxyz(21.7079, 11.5122, 27.0601)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8238F #23A83C
analogous
#7E23A8 #A8238F #A8234D
triadic
#A8238F #8FA823 #238FA8
tetradic
#A8238F #A87E23 #23A83C #234DA8
square
#A8238F #A87E23 #23A83C #234DA8
split-complementary
#A8238F #4DA823 #23A87E
monochromatic
#430E39 #751864 #A8238F #D534B6 #DF66C8

Accessibility & contrast

On white

6.36
#A8238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A8238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8238F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8238F#FFFFFF#000000##FFFFFF
##A8238F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#57668C
Tritanopia (blue-blind)
#B12C58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8238f;
/* rgb */ color: rgb(168, 35, 143);
/* oklch */ color: oklch(51.3% 0.200 337.2);
Tailwind
colors: {
  custom: {
    50: '#c66eb0',
    500: '#a8238f',
    950: '#000000',
  },
}
SCSS
$custom: #a8238f;
$custom-light: #c66eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8238f",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 311.278,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51305,
    "c": 0.19984,
    "h": 337.2
  },
  "luminance": 0.1151
}

Semantic roles & 50–950 ramp

primary
#A8238F
secondary
#62C575
accent
#E85F3F
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8238F

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

Preview Lab → · Contrast checker → · Palette generator →

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