#A0237B#A0237B

#A0237B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.182 H 342.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A0237B
RGBrgb(160, 35, 123)
HSLhsl(318, 64%, 38%)
HSVhsv(318, 78%, 63%)
CMYKcmyk(0%, 78.1%, 23.1%, 37.3%)
CIE-LABlab(38.03, 57.76, -19.96)
CIE-LCHlch(38.03, 61.11, 340.94°)
OKLaboklab(49% 0.1742 -0.0535)
OKLCHoklch(49% 0.182 342.9)
XYZxyz(18.6741, 10.1077, 19.7026)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0237B #23A048
analogous
#8623A0 #A0237B #A0233C
triadic
#A0237B #7BA023 #237BA0
tetradic
#A0237B #A08623 #23A048 #233CA0
square
#A0237B #A08623 #23A048 #233CA0
split-complementary
#A0237B #3CA023 #23A086
monochromatic
#3C0D2E #6E1854 #A0237B #D12FA1 #DC61B8

Accessibility & contrast

On white

6.95
#A0237B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A0237B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0237B
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0237B#FFFFFF#000000##FFFFFF
##A0237B1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#586178
Tritanopia (blue-blind)
#AB244D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0237b;
/* rgb */ color: rgb(160, 35, 123);
/* oklch */ color: oklch(49.0% 0.182 342.9);
Tailwind
colors: {
  custom: {
    50: '#c06ca1',
    500: '#a0237b',
    950: '#000000',
  },
}
SCSS
$custom: #a0237b;
$custom-light: #c06ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#a0237b",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 317.76,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49002,
    "c": 0.18218,
    "h": 342.9
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#A0237B
secondary
#5DC17B
accent
#E77241
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #A0237B

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

Preview Lab → · Contrast checker → · Palette generator →

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