#A8335E#A8335E

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

Color values

HEX#A8335E
RGBrgb(168, 51, 94)
HSLhsl(338, 53%, 43%)
HSVhsv(338, 70%, 66%)
CMYKcmyk(0%, 69.6%, 44%, 34.1%)
CIE-LABlab(40.42, 50.99, 1.94)
CIE-LCHlch(40.42, 51.03, 2.18°)
OKLaboklab(50.67% 0.1561 0.0056)
OKLCHoklch(50.67% 0.156 2.1)
XYZxyz(19.3541, 11.5031, 11.7886)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8335E #33A87D
analogous
#A83398 #A8335E #A84333
triadic
#A8335E #5EA833 #335EA8
tetradic
#A8335E #98A833 #33A87D #4333A8
square
#A8335E #98A833 #33A87D #4333A8
split-complementary
#A8335E #33A843 #3398A8
monochromatic
#4A1629 #792544 #A8335E #C94F7C #D87E9F

Accessibility & contrast

On white

6.36
#A8335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8335E
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8335E#FFFFFF#000000##FFFFFF
##A8335E1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#6B685B
Tritanopia (blue-blind)
#B62345
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8335e;
/* rgb */ color: rgb(168, 51, 94);
/* oklch */ color: oklch(50.7% 0.156 2.1);
Tailwind
colors: {
  custom: {
    50: '#c7738b',
    500: '#a8335e',
    950: '#000000',
  },
}
SCSS
$custom: #a8335e;
$custom-light: #c7738b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8335e",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 337.949,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.15616,
    "h": 2.1
  },
  "luminance": 0.11501
}

Semantic roles & 50–950 ramp

primary
#A8335E
secondary
#76C1A5
accent
#DDA74B
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090C
muted
#827B7D

Preview Lab

Preview with #A8335E

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

Preview Lab → · Contrast checker → · Palette generator →

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