#A8235C#A8235C

#A8235C is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.173 H 0.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A8235C
RGBrgb(168, 35, 92)
HSLhsl(334, 66%, 40%)
HSVhsv(334, 79%, 66%)
CMYKcmyk(0%, 79.2%, 45.2%, 34.1%)
CIE-LABlab(38.38, 56.32, 0.25)
CIE-LCHlch(38.38, 56.32, 0.25°)
OKLaboklab(49.15% 0.1731 0.0013)
OKLCHoklch(49.15% 0.173 0.4)
XYZxyz(18.6827, 10.3021, 11.1278)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8235C #23A86F
analogous
#A8239E #A8235C #A82D23
triadic
#A8235C #5CA823 #235CA8
tetradic
#A8235C #9EA823 #23A86F #2D23A8
square
#A8235C #9EA823 #23A86F #2D23A8
split-complementary
#A8235C #23A82D #239EA8
monochromatic
#430E25 #751840 #A8235C #D53479 #DF669A

Accessibility & contrast

On white

6.86
#A8235C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A8235C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8235C
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8235C#FFFFFF#000000##FFFFFF
##A8235C1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5D
Deuteranopia (green-blind)
#666359
Tritanopia (blue-blind)
#B7023D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a8235c;
/* rgb */ color: rgb(168, 35, 92);
/* oklch */ color: oklch(49.1% 0.173 0.4);
Tailwind
colors: {
  custom: {
    50: '#c76c8a',
    500: '#a8235c',
    950: '#000000',
  },
}
SCSS
$custom: #a8235c;
$custom-light: #c76c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8235c",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 334.286,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49148,
    "c": 0.17305,
    "h": 0.4
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

primary
#A8235C
secondary
#62C59A
accent
#E8A03F
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A8235C

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

Preview Lab → · Contrast checker → · Palette generator →

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