#A8335C#A8335C

#A8335C is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.6% C 0.156 H 3.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A8335C
RGBrgb(168, 51, 92)
HSLhsl(339, 53%, 43%)
HSVhsv(339, 70%, 66%)
CMYKcmyk(0%, 69.6%, 45.2%, 34.1%)
CIE-LABlab(40.36, 50.79, 3.12)
CIE-LCHlch(40.36, 50.89, 3.51°)
OKLaboklab(50.61% 0.1553 0.0086)
OKLCHoklch(50.61% 0.156 3.2)
XYZxyz(19.2655, 11.4676, 11.3221)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8335C #33A87F
analogous
#A83397 #A8335C #A84433
triadic
#A8335C #5CA833 #335CA8
tetradic
#A8335C #97A833 #33A87F #4433A8
square
#A8335C #97A833 #33A87F #4433A8
split-complementary
#A8335C #33A844 #3397A8
monochromatic
#4A1629 #792542 #A8335C #C94F7A #D87E9D

Accessibility & contrast

On white

6.38
#A8335C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8335C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8335C#FFFFFF#000000##FFFFFF
##A8335C1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515D
Deuteranopia (green-blind)
#6B6759
Tritanopia (blue-blind)
#B62244
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8335c;
/* rgb */ color: rgb(168, 51, 92);
/* oklch */ color: oklch(50.6% 0.156 3.2);
Tailwind
colors: {
  custom: {
    50: '#c7738a',
    500: '#a8335c',
    950: '#000000',
  },
}
SCSS
$custom: #a8335c;
$custom-light: #c7738a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8335c",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 92
  },
  "hsl": {
    "h": 338.974,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50605,
    "c": 0.15558,
    "h": 3.2
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

primary
#A8335C
secondary
#76C1A7
accent
#DDAA4B
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090B
muted
#827B7C

Preview Lab

Preview with #A8335C

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

Preview Lab → · Contrast checker → · Palette generator →

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