#6A2154#6A2154

#6A2154 is a dark, vivid pink. Relative luminance 0.048; OKLCH L 37.9% C 0.120 H 341.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#6A2154
RGBrgb(106, 33, 84)
HSLhsl(318, 53%, 27%)
HSVhsv(318, 69%, 42%)
CMYKcmyk(0%, 68.9%, 20.8%, 58.4%)
CIE-LABlab(26.14, 38.31, -14.10)
CIE-LCHlch(26.14, 40.82, 339.79°)
OKLaboklab(37.91% 0.1144 -0.0378)
OKLCHoklch(37.91% 0.121 341.7)
XYZxyz(8.0882, 4.7927, 8.8849)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2154 #216A37
analogous
#5C216A #6A2154 #6A2130
triadic
#6A2154 #546A21 #21546A
tetradic
#6A2154 #6A5C21 #216A37 #21306A
square
#6A2154 #6A5C21 #216A37 #21306A
split-complementary
#6A2154 #306A21 #216A5C
monochromatic
#170712 #3B122F #6A2154 #993079 #C4419D

Accessibility & contrast

On white

10.72
#6A2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2154
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2154#FFFFFF#000000##FFFFFF
##6A21541.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263656
Deuteranopia (green-blind)
#3C4252
Tritanopia (blue-blind)
#712237
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a2154;
/* rgb */ color: rgb(106, 33, 84);
/* oklch */ color: oklch(37.9% 0.120 341.7);
Tailwind
colors: {
  custom: {
    50: '#976284',
    500: '#6a2154',
    950: '#000000',
  },
}
SCSS
$custom: #6a2154;
$custom-light: #976284;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2154",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 318.082,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37908,
    "c": 0.1205,
    "h": 341.7
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#6A2154
secondary
#499E63
accent
#DC774C
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #6A2154

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

Preview Lab → · Contrast checker → · Palette generator →

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