#A6348C#A6348C

#A6348C is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.178 H 338.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A6348C
RGBrgb(166, 52, 140)
HSLhsl(314, 52%, 43%)
HSVhsv(314, 69%, 65%)
CMYKcmyk(0%, 68.7%, 15.7%, 34.9%)
CIE-LABlab(41.94, 55.81, -24.30)
CIE-LCHlch(41.94, 60.87, 336.47°)
OKLaboklab(52.28% 0.1649 -0.0658)
OKLCHoklch(52.28% 0.178 338.3)
XYZxyz(21.6879, 12.4584, 26.0683)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6348C #34A64E
analogous
#8734A6 #A6348C #A63453
triadic
#A6348C #8CA634 #348CA6
tetradic
#A6348C #A68734 #34A64E #3453A6
square
#A6348C #A68734 #34A64E #3453A6
split-complementary
#A6348C #53A634 #34A687
monochromatic
#49173D #772565 #A6348C #C84FAC #D77EC2

Accessibility & contrast

On white

6.02
#A6348C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A6348C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6348C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6348C#FFFFFF#000000##FFFFFF
##A6348C1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#5D6989
Tritanopia (blue-blind)
#AF395B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a6348c;
/* rgb */ color: rgb(166, 52, 140);
/* oklch */ color: oklch(52.3% 0.178 338.3);
Tailwind
colors: {
  custom: {
    50: '#c475ae',
    500: '#a6348c',
    950: '#000000',
  },
}
SCSS
$custom: #a6348c;
$custom-light: #c475ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6348c",
  "rgb": {
    "r": 166,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 313.684,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.17756,
    "h": 338.3
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#A6348C
secondary
#76C087
accent
#DC6D4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A6348C

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

Preview Lab → · Contrast checker → · Palette generator →

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