#A8335A#A8335A

#A8335A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.5% C 0.155 H 4.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A8335A
RGBrgb(168, 51, 90)
HSLhsl(340, 53%, 43%)
HSVhsv(340, 70%, 66%)
CMYKcmyk(0%, 69.6%, 46.4%, 34.1%)
CIE-LABlab(40.30, 50.59, 4.30)
CIE-LCHlch(40.30, 50.78, 4.85°)
OKLaboklab(50.54% 0.1546 0.0116)
OKLCHoklch(50.54% 0.155 4.3)
XYZxyz(19.1792, 11.4331, 10.8677)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8335A #33A881
analogous
#A83394 #A8335A #A84633
triadic
#A8335A #5AA833 #335AA8
tetradic
#A8335A #94A833 #33A881 #4633A8
square
#A8335A #94A833 #33A881 #4633A8
split-complementary
#A8335A #33A846 #3394A8
monochromatic
#4A1628 #792541 #A8335A #C94F78 #D87E9C

Accessibility & contrast

On white

6.39
#A8335A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A8335A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8335A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8335A#FFFFFF#000000##FFFFFF
##A8335A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D505B
Deuteranopia (green-blind)
#6C6757
Tritanopia (blue-blind)
#B72143
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8335a;
/* rgb */ color: rgb(168, 51, 90);
/* oklch */ color: oklch(50.5% 0.155 4.3);
Tailwind
colors: {
  custom: {
    50: '#c77388',
    500: '#a8335a',
    950: '#000000',
  },
}
SCSS
$custom: #a8335a;
$custom-light: #c77388;
$custom-dark: #000000;
JSON
{
  "hex": "#a8335a",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 340,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50544,
    "c": 0.15504,
    "h": 4.3
  },
  "luminance": 0.11431
}

Semantic roles & 50–950 ramp

primary
#A8335A
secondary
#76C1A8
accent
#DDAC4B
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14090B
muted
#827B7C

Preview Lab

Preview with #A8335A

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

Preview Lab → · Contrast checker → · Palette generator →

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