#6A245E#6A245E

#6A245E is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.124 H 335.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#6A245E
RGBrgb(106, 36, 94)
HSLhsl(310, 49%, 28%)
HSVhsv(310, 66%, 42%)
CMYKcmyk(0%, 66%, 11.3%, 58.4%)
CIE-LABlab(27.12, 38.59, -19.17)
CIE-LCHlch(27.12, 43.08, 333.59°)
OKLaboklab(38.78% 0.1122 -0.0522)
OKLCHoklch(38.78% 0.124 335.1)
XYZxyz(8.5952, 5.1348, 11.1259)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A245E #246A30
analogous
#53246A #6A245E #6A243B
triadic
#6A245E #5E6A24 #245E6A
tetradic
#6A245E #6A5324 #246A30 #243B6A
square
#6A245E #6A5324 #246A30 #243B6A
split-complementary
#6A245E #3B6A24 #246A53
monochromatic
#170814 #3C1435 #6A245E #983487 #C148AC

Accessibility & contrast

On white

10.36
#6A245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6A245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A245E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A245E#FFFFFF#000000##FFFFFF
##6A245E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243960
Deuteranopia (green-blind)
#3A445C
Tritanopia (blue-blind)
#6F283D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a245e;
/* rgb */ color: rgb(106, 36, 94);
/* oklch */ color: oklch(38.8% 0.124 335.1);
Tailwind
colors: {
  custom: {
    50: '#97648c',
    500: '#6a245e',
    950: '#000000',
  },
}
SCSS
$custom: #6a245e;
$custom-light: #97648c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a245e",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 310.286,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38782,
    "c": 0.12374,
    "h": 335.1
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#6A245E
secondary
#4D9D5A
accent
#D9674F
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060C
muted
#7E7A7D

Preview Lab

Preview with #6A245E

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

Preview Lab → · Contrast checker → · Palette generator →

#6A245E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva