#A8335F#A8335F

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

Color values

HEX#A8335F
RGBrgb(168, 51, 95)
HSLhsl(337, 53%, 43%)
HSVhsv(337, 70%, 66%)
CMYKcmyk(0%, 69.6%, 43.5%, 34.1%)
CIE-LABlab(40.44, 51.09, 1.36)
CIE-LCHlch(40.44, 51.11, 1.52°)
OKLaboklab(50.7% 0.1564 0.0041)
OKLCHoklch(50.7% 0.156 1.5)
XYZxyz(19.3992, 11.5211, 12.0265)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8335F #33A87C
analogous
#A83399 #A8335F #A84133
triadic
#A8335F #5FA833 #335FA8
tetradic
#A8335F #99A833 #33A87C #4133A8
square
#A8335F #99A833 #33A87C #4133A8
split-complementary
#A8335F #33A841 #3399A8
monochromatic
#4A162A #792544 #A8335F #C94F7D #D87EA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8335F#FFFFFF#000000##FFFFFF
##A8335F1.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)
#4B5160
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#B62345
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8335f;
/* rgb */ color: rgb(168, 51, 95);
/* oklch */ color: oklch(50.7% 0.156 1.5);
Tailwind
colors: {
  custom: {
    50: '#c7738c',
    500: '#a8335f',
    950: '#000000',
  },
}
SCSS
$custom: #a8335f;
$custom-light: #c7738c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8335f",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 337.436,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.15647,
    "h": 1.5
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8335F

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

Preview Lab → · Contrast checker → · Palette generator →

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