#6A2155#6A2155

#6A2155 is a dark, vivid pink. Relative luminance 0.048; OKLCH L 38.0% C 0.121 H 341.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#6A2155
RGBrgb(106, 33, 85)
HSLhsl(317, 53%, 27%)
HSVhsv(317, 69%, 42%)
CMYKcmyk(0%, 68.9%, 19.8%, 58.4%)
CIE-LABlab(26.18, 38.46, -14.69)
CIE-LCHlch(26.18, 41.17, 339.09°)
OKLaboklab(37.96% 0.1146 -0.0395)
OKLCHoklch(37.96% 0.121 341)
XYZxyz(8.1276, 4.8085, 9.0927)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2155 #216A36
analogous
#5A216A #6A2155 #6A2131
triadic
#6A2155 #556A21 #21556A
tetradic
#6A2155 #6A5A21 #216A36 #21316A
square
#6A2155 #6A5A21 #216A36 #21316A
split-complementary
#6A2155 #316A21 #216A5A
monochromatic
#170713 #3B1230 #6A2155 #99307A #C4419E

Accessibility & contrast

On white

10.71
#6A2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6A2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2155
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2155#FFFFFF#000000##FFFFFF
##6A21551.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263657
Deuteranopia (green-blind)
#3C4253
Tritanopia (blue-blind)
#702237
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a2155;
/* rgb */ color: rgb(106, 33, 85);
/* oklch */ color: oklch(38.0% 0.121 341.0);
Tailwind
colors: {
  custom: {
    50: '#976285',
    500: '#6a2155',
    950: '#000000',
  },
}
SCSS
$custom: #6a2155;
$custom-light: #976285;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2155",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 317.26,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37957,
    "c": 0.12123,
    "h": 341
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#6A2155
secondary
#499E61
accent
#DC754C
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #6A2155

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

Preview Lab → · Contrast checker → · Palette generator →

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