#A8237F#A8237F

#A8237F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.190 H 343.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A8237F
RGBrgb(168, 35, 127)
HSLhsl(318, 66%, 40%)
HSVhsv(318, 79%, 66%)
CMYKcmyk(0%, 79.2%, 24.4%, 34.1%)
CIE-LABlab(39.68, 60.23, -19.78)
CIE-LCHlch(39.68, 63.40, 341.82°)
OKLaboklab(50.52% 0.1822 -0.0529)
OKLCHoklch(50.52% 0.19 343.8)
XYZxyz(20.5811, 11.0614, 21.1258)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8237F #23A84C
analogous
#8E23A8 #A8237F #A8233D
triadic
#A8237F #7FA823 #237FA8
tetradic
#A8237F #A88E23 #23A84C #233DA8
square
#A8237F #A88E23 #23A84C #233DA8
split-complementary
#A8237F #3DA823 #23A88E
monochromatic
#430E32 #751859 #A8237F #D534A3 #DF66BA

Accessibility & contrast

On white

6.54
#A8237F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A8237F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8237F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8237F#FFFFFF#000000##FFFFFF
##A8237F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F81
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#B3224F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8237f;
/* rgb */ color: rgb(168, 35, 127);
/* oklch */ color: oklch(50.5% 0.190 343.8);
Tailwind
colors: {
  custom: {
    50: '#c66da4',
    500: '#a8237f',
    950: '#000000',
  },
}
SCSS
$custom: #a8237f;
$custom-light: #c66da4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8237f",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 318.496,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50524,
    "c": 0.18967,
    "h": 343.8
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#A8237F
secondary
#62C580
accent
#E8733F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8237F

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

Preview Lab → · Contrast checker → · Palette generator →

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