#A8335B#A8335B

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

Color values

HEX#A8335B
RGBrgb(168, 51, 91)
HSLhsl(339, 53%, 43%)
HSVhsv(339, 70%, 66%)
CMYKcmyk(0%, 69.6%, 45.8%, 34.1%)
CIE-LABlab(40.33, 50.69, 3.71)
CIE-LCHlch(40.33, 50.83, 4.18°)
OKLaboklab(50.58% 0.155 0.0101)
OKLCHoklch(50.58% 0.155 3.7)
XYZxyz(19.2221, 11.4502, 11.0934)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8335B #33A880
analogous
#A83395 #A8335B #A84533
triadic
#A8335B #5BA833 #335BA8
tetradic
#A8335B #95A833 #33A880 #4533A8
square
#A8335B #95A833 #33A880 #4533A8
split-complementary
#A8335B #33A845 #3395A8
monochromatic
#4A1628 #792542 #A8335B #C94F79 #D87E9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8335B#FFFFFF#000000##FFFFFF
##A8335B1.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)
#4C505C
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#B62143
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8335b;
/* rgb */ color: rgb(168, 51, 91);
/* oklch */ color: oklch(50.6% 0.155 3.7);
Tailwind
colors: {
  custom: {
    50: '#c77389',
    500: '#a8335b',
    950: '#000000',
  },
}
SCSS
$custom: #a8335b;
$custom-light: #c77389;
$custom-dark: #000000;
JSON
{
  "hex": "#a8335b",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 339.487,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50575,
    "c": 0.1553,
    "h": 3.7
  },
  "luminance": 0.11448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8335B

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

Preview Lab → · Contrast checker → · Palette generator →

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