#A8335D#A8335D

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

Color values

HEX#A8335D
RGBrgb(168, 51, 93)
HSLhsl(338, 53%, 43%)
HSVhsv(338, 70%, 66%)
CMYKcmyk(0%, 69.6%, 44.6%, 34.1%)
CIE-LABlab(40.39, 50.89, 2.53)
CIE-LCHlch(40.39, 50.95, 2.85°)
OKLaboklab(50.64% 0.1557 0.0071)
OKLCHoklch(50.64% 0.156 2.6)
XYZxyz(19.3095, 11.4852, 11.5538)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8335D #33A87E
analogous
#A83397 #A8335D #A84433
triadic
#A8335D #5DA833 #335DA8
tetradic
#A8335D #97A833 #33A87E #4433A8
square
#A8335D #97A833 #33A87E #4433A8
split-complementary
#A8335D #33A844 #3397A8
monochromatic
#4A1629 #792543 #A8335D #C94F7B #D87E9E

Accessibility & contrast

On white

6.37
#A8335D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A8335D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8335D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8335D#FFFFFF#000000##FFFFFF
##A8335D1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8335d;
/* rgb */ color: rgb(168, 51, 93);
/* oklch */ color: oklch(50.6% 0.156 2.6);
Tailwind
colors: {
  custom: {
    50: '#c7738a',
    500: '#a8335d',
    950: '#000000',
  },
}
SCSS
$custom: #a8335d;
$custom-light: #c7738a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8335d",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 338.462,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.15586,
    "h": 2.6
  },
  "luminance": 0.11483
}

Semantic roles & 50–950 ramp

primary
#A8335D
secondary
#76C1A6
accent
#DDA84B
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090B
muted
#827B7C

Preview Lab

Preview with #A8335D

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

Preview Lab → · Contrast checker → · Palette generator →

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