#A6245F#A6245F

#A6245F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.172 H 358.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A6245F
RGBrgb(166, 36, 95)
HSLhsl(333, 64%, 40%)
HSVhsv(333, 78%, 65%)
CMYKcmyk(0%, 78.3%, 42.8%, 34.9%)
CIE-LABlab(38.19, 55.77, -1.98)
CIE-LCHlch(38.19, 55.81, 357.97°)
OKLaboklab(48.97% 0.1714 -0.0045)
OKLCHoklch(48.97% 0.172 358.5)
XYZxyz(18.4237, 10.1974, 11.8224)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6245F #24A66B
analogous
#A624A0 #A6245F #A62A24
triadic
#A6245F #5FA624 #245FA6
tetradic
#A6245F #A0A624 #24A66B #2A24A6
square
#A6245F #A0A624 #24A66B #2A24A6
split-complementary
#A6245F #24A62A #24A0A6
monochromatic
#410E25 #741942 #A6245F #D3347C #DE669D

Accessibility & contrast

On white

6.91
#A6245F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6245F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6245F#FFFFFF#000000##FFFFFF
##A6245F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#B40B3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6245f;
/* rgb */ color: rgb(166, 36, 95);
/* oklch */ color: oklch(49.0% 0.172 358.5);
Tailwind
colors: {
  custom: {
    50: '#c66c8c',
    500: '#a6245f',
    950: '#000000',
  },
}
SCSS
$custom: #a6245f;
$custom-light: #c66c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6245f",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 332.769,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48973,
    "c": 0.1715,
    "h": 358.5
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#A6245F
secondary
#62C497
accent
#E79C40
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A6245F

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

Preview Lab → · Contrast checker → · Palette generator →

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