#A0237F#A0237F

#A0237F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.185 H 341.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A0237F
RGBrgb(160, 35, 127)
HSLhsl(316, 64%, 38%)
HSVhsv(316, 78%, 63%)
CMYKcmyk(0%, 78.1%, 20.6%, 37.3%)
CIE-LABlab(38.22, 58.30, -22.17)
CIE-LCHlch(38.22, 62.37, 339.18°)
OKLaboklab(49.19% 0.1748 -0.0597)
OKLCHoklch(49.19% 0.185 341.1)
XYZxyz(18.9296, 10.2099, 21.0484)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0237F #23A044
analogous
#8223A0 #A0237F #A02340
triadic
#A0237F #7FA023 #237FA0
tetradic
#A0237F #A08223 #23A044 #2340A0
square
#A0237F #A08223 #23A044 #2340A0
split-complementary
#A0237F #40A023 #23A082
monochromatic
#3C0D2F #6E1857 #A0237F #D12FA6 #DC61BC

Accessibility & contrast

On white

6.90
#A0237F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A0237F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0237F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0237F#FFFFFF#000000##FFFFFF
##A0237F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#57617C
Tritanopia (blue-blind)
#AA264F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a0237f;
/* rgb */ color: rgb(160, 35, 127);
/* oklch */ color: oklch(49.2% 0.185 341.1);
Tailwind
colors: {
  custom: {
    50: '#c06ca4',
    500: '#a0237f',
    950: '#000000',
  },
}
SCSS
$custom: #a0237f;
$custom-light: #c06ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a0237f",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 315.84,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.1847,
    "h": 341.1
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#A0237F
secondary
#5DC178
accent
#E76D41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A0237F

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

Preview Lab → · Contrast checker → · Palette generator →

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