#A6245C#A6245C

#A6245C is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.170 H 0.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A6245C
RGBrgb(166, 36, 92)
HSLhsl(334, 64%, 40%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 78.3%, 44.6%, 34.9%)
CIE-LABlab(38.10, 55.48, -0.21)
CIE-LCHlch(38.10, 55.48, 359.79°)
OKLaboklab(48.87% 0.1704 0.0001)
OKLCHoklch(48.87% 0.17 0)
XYZxyz(18.2900, 10.1439, 11.1180)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6245C #24A66E
analogous
#A6249D #A6245C #A62D24
triadic
#A6245C #5CA624 #245CA6
tetradic
#A6245C #9DA624 #24A66E #2D24A6
square
#A6245C #9DA624 #24A66E #2D24A6
split-complementary
#A6245C #24A62D #249DA6
monochromatic
#410E24 #741940 #A6245C #D33479 #DE669A

Accessibility & contrast

On white

6.93
#A6245C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A6245C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6245C
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6245C#FFFFFF#000000##FFFFFF
##A6245C1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5D
Deuteranopia (green-blind)
#656359
Tritanopia (blue-blind)
#B4083D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6245c;
/* rgb */ color: rgb(166, 36, 92);
/* oklch */ color: oklch(48.9% 0.170 0.0);
Tailwind
colors: {
  custom: {
    50: '#c66c8a',
    500: '#a6245c',
    950: '#000000',
  },
}
SCSS
$custom: #a6245c;
$custom-light: #c66c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6245c",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 334.154,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48873,
    "c": 0.17044,
    "h": 0
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#A6245C
secondary
#62C49A
accent
#E79F40
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A6245C

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

Preview Lab → · Contrast checker → · Palette generator →

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