#A6245D#A6245D

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

Color values

HEX#A6245D
RGBrgb(166, 36, 93)
HSLhsl(334, 64%, 40%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 78.3%, 44%, 34.9%)
CIE-LABlab(38.13, 55.57, -0.80)
CIE-LCHlch(38.13, 55.58, 359.18°)
OKLaboklab(48.91% 0.1708 -0.0014)
OKLCHoklch(48.91% 0.171 359.5)
XYZxyz(18.3340, 10.1615, 11.3497)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6245D #24A66D
analogous
#A6249E #A6245D #A62C24
triadic
#A6245D #5DA624 #245DA6
tetradic
#A6245D #9EA624 #24A66D #2C24A6
square
#A6245D #9EA624 #24A66D #2C24A6
split-complementary
#A6245D #24A62C #249EA6
monochromatic
#410E25 #741941 #A6245D #D3347A #DE669B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6245D#FFFFFF#000000##FFFFFF
##A6245D1.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)
#424A5E
Deuteranopia (green-blind)
#65635A
Tritanopia (blue-blind)
#B4093D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6245d;
/* rgb */ color: rgb(166, 36, 93);
/* oklch */ color: oklch(48.9% 0.171 359.5);
Tailwind
colors: {
  custom: {
    50: '#c66c8a',
    500: '#a6245d',
    950: '#000000',
  },
}
SCSS
$custom: #a6245d;
$custom-light: #c66c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6245d",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 333.692,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48906,
    "c": 0.17079,
    "h": 359.5
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#A6245D
secondary
#62C499
accent
#E79E40
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A6245D

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

Preview Lab → · Contrast checker → · Palette generator →

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