#A0238B#A0238B

#A0238B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.8% C 0.193 H 336.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A0238B
RGBrgb(160, 35, 139)
HSLhsl(310, 64%, 38%)
HSVhsv(310, 78%, 63%)
CMYKcmyk(0%, 78.1%, 13.1%, 37.3%)
CIE-LABlab(38.80, 60.00, -28.66)
CIE-LCHlch(38.80, 66.49, 334.46°)
OKLaboklab(49.8% 0.1761 -0.0782)
OKLCHoklch(49.8% 0.193 336)
XYZxyz(19.7588, 10.5416, 25.4152)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0238B #23A038
analogous
#7623A0 #A0238B #A0234C
triadic
#A0238B #8BA023 #238BA0
tetradic
#A0238B #A07623 #23A038 #234CA0
square
#A0238B #A07623 #23A038 #234CA0
split-complementary
#A0238B #4CA023 #23A076
monochromatic
#3C0D34 #6E185F #A0238B #D12FB6 #DC61C8

Accessibility & contrast

On white

6.76
#A0238B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A0238B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0238B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0238B#FFFFFF#000000##FFFFFF
##A0238B1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8E
Deuteranopia (green-blind)
#526288
Tritanopia (blue-blind)
#A82D55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0238b;
/* rgb */ color: rgb(160, 35, 139);
/* oklch */ color: oklch(49.8% 0.193 336.0);
Tailwind
colors: {
  custom: {
    50: '#c06dad',
    500: '#a0238b',
    950: '#000000',
  },
}
SCSS
$custom: #a0238b;
$custom-light: #c06dad;
$custom-dark: #000000;
JSON
{
  "hex": "#a0238b",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 310.08,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.19271,
    "h": 336
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#A0238B
secondary
#5DC16E
accent
#E75D41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0238B

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

Preview Lab → · Contrast checker → · Palette generator →

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