#A0237E#A0237E

#A0237E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.184 H 341.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A0237E
RGBrgb(160, 35, 126)
HSLhsl(316, 64%, 38%)
HSVhsv(316, 78%, 63%)
CMYKcmyk(0%, 78.1%, 21.2%, 37.3%)
CIE-LABlab(38.17, 58.16, -21.62)
CIE-LCHlch(38.17, 62.05, 339.61°)
OKLaboklab(49.14% 0.1746 -0.0582)
OKLCHoklch(49.14% 0.184 341.6)
XYZxyz(18.8648, 10.1840, 20.7068)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0237E #23A045
analogous
#8323A0 #A0237E #A0233F
triadic
#A0237E #7EA023 #237EA0
tetradic
#A0237E #A08323 #23A045 #233FA0
square
#A0237E #A08323 #23A045 #233FA0
split-complementary
#A0237E #3FA023 #23A083
monochromatic
#3C0D2F #6E1856 #A0237E #D12FA5 #DC61BB

Accessibility & contrast

On white

6.92
#A0237E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0237E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0237E#FFFFFF#000000##FFFFFF
##A0237E1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#AA254E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a0237e;
/* rgb */ color: rgb(160, 35, 126);
/* oklch */ color: oklch(49.1% 0.184 341.6);
Tailwind
colors: {
  custom: {
    50: '#c06ca3',
    500: '#a0237e',
    950: '#000000',
  },
}
SCSS
$custom: #a0237e;
$custom-light: #c06ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a0237e",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 316.32,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49144,
    "c": 0.18406,
    "h": 341.6
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#A0237E
secondary
#5DC179
accent
#E76E41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A0237E

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

Preview Lab → · Contrast checker → · Palette generator →

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