#A0238A#A0238A

#A0238A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.192 H 336.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A0238A
RGBrgb(160, 35, 138)
HSLhsl(311, 64%, 38%)
HSVhsv(311, 78%, 63%)
CMYKcmyk(0%, 78.1%, 13.8%, 37.3%)
CIE-LABlab(38.75, 59.85, -28.13)
CIE-LCHlch(38.75, 66.13, 334.83°)
OKLaboklab(49.75% 0.176 -0.0767)
OKLCHoklch(49.75% 0.192 336.5)
XYZxyz(19.6860, 10.5125, 25.0322)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0238A #23A039
analogous
#7723A0 #A0238A #A0234B
triadic
#A0238A #8AA023 #238AA0
tetradic
#A0238A #A07723 #23A039 #234BA0
square
#A0238A #A07723 #23A039 #234BA0
split-complementary
#A0238A #4BA023 #23A077
monochromatic
#3C0D33 #6E185F #A0238A #D12FB5 #DC61C7

Accessibility & contrast

On white

6.77
#A0238A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A0238A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0238A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0238A#FFFFFF#000000##FFFFFF
##A0238A1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#536287
Tritanopia (blue-blind)
#A92C55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0238a;
/* rgb */ color: rgb(160, 35, 138);
/* oklch */ color: oklch(49.7% 0.192 336.5);
Tailwind
colors: {
  custom: {
    50: '#c06dac',
    500: '#a0238a',
    950: '#000000',
  },
}
SCSS
$custom: #a0238a;
$custom-light: #c06dac;
$custom-dark: #000000;
JSON
{
  "hex": "#a0238a",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 310.56,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49747,
    "c": 0.19202,
    "h": 336.5
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#A0238A
secondary
#5DC16F
accent
#E75E41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0238A

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

Preview Lab → · Contrast checker → · Palette generator →

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