#A8337E#A8337E

#A8337E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.171 H 345.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A8337E
RGBrgb(168, 51, 126)
HSLhsl(322, 53%, 43%)
HSVhsv(322, 70%, 66%)
CMYKcmyk(0%, 69.6%, 25%, 34.1%)
CIE-LABlab(41.53, 54.76, -16.32)
CIE-LCHlch(41.53, 57.13, 343.41°)
OKLaboklab(51.86% 0.1655 -0.0433)
OKLCHoklch(51.86% 0.171 345.3)
XYZxyz(21.0990, 12.2010, 20.9785)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8337E #33A85D
analogous
#9733A8 #A8337E #A83344
triadic
#A8337E #7EA833 #337EA8
tetradic
#A8337E #A89733 #33A85D #3344A8
square
#A8337E #A89733 #33A85D #3344A8
split-complementary
#A8337E #44A833 #33A897
monochromatic
#4A1638 #79255B #A8337E #C94F9D #D87EB7

Accessibility & contrast

On white

6.11
#A8337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A8337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8337E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8337E#FFFFFF#000000##FFFFFF
##A8337E1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405580
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#B33154
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8337e;
/* rgb */ color: rgb(168, 51, 126);
/* oklch */ color: oklch(51.9% 0.171 345.3);
Tailwind
colors: {
  custom: {
    50: '#c674a3',
    500: '#a8337e',
    950: '#000000',
  },
}
SCSS
$custom: #a8337e;
$custom-light: #c674a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8337e",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 321.538,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.17105,
    "h": 345.3
  },
  "luminance": 0.12199
}

Semantic roles & 50–950 ramp

primary
#A8337E
secondary
#76C191
accent
#DD7F4B
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A8337E

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

Preview Lab → · Contrast checker → · Palette generator →

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