#A6245E#A6245E

#A6245E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.171 H 359.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A6245E
RGBrgb(166, 36, 94)
HSLhsl(333, 64%, 40%)
HSVhsv(333, 78%, 65%)
CMYKcmyk(0%, 78.3%, 43.4%, 34.9%)
CIE-LABlab(38.16, 55.67, -1.39)
CIE-LCHlch(38.16, 55.69, 358.57°)
OKLaboklab(48.94% 0.1711 -0.003)
OKLCHoklch(48.94% 0.171 359)
XYZxyz(18.3786, 10.1793, 11.5845)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6245E #24A66C
analogous
#A6249F #A6245E #A62B24
triadic
#A6245E #5EA624 #245EA6
tetradic
#A6245E #9FA624 #24A66C #2B24A6
square
#A6245E #9FA624 #24A66C #2B24A6
split-complementary
#A6245E #24A62B #249FA6
monochromatic
#410E25 #741942 #A6245E #D3347B #DE669C

Accessibility & contrast

On white

6.92
#A6245E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A6245E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6245E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6245E#FFFFFF#000000##FFFFFF
##A6245E1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5F
Deuteranopia (green-blind)
#65635B
Tritanopia (blue-blind)
#B40A3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6245e;
/* rgb */ color: rgb(166, 36, 94);
/* oklch */ color: oklch(48.9% 0.171 359.0);
Tailwind
colors: {
  custom: {
    50: '#c66c8b',
    500: '#a6245e',
    950: '#000000',
  },
}
SCSS
$custom: #a6245e;
$custom-light: #c66c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6245e",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 333.231,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48939,
    "c": 0.17114,
    "h": 359
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#A6245E
secondary
#62C498
accent
#E79D40
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A6245E

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

Preview Lab → · Contrast checker → · Palette generator →

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