#6B2154#6B2154

#6B2154 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.1% C 0.121 H 342.3°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#6B2154
RGBrgb(107, 33, 84)
HSLhsl(319, 53%, 27%)
HSVhsv(319, 69%, 42%)
CMYKcmyk(0%, 69.2%, 21.5%, 58%)
CIE-LABlab(26.32, 38.61, -13.81)
CIE-LCHlch(26.32, 41.00, 340.32°)
OKLaboklab(38.07% 0.1155 -0.037)
OKLCHoklch(38.07% 0.121 342.3)
XYZxyz(8.2077, 4.8544, 8.8905)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2154 #216B38
analogous
#5D216B #6B2154 #6B212F
triadic
#6B2154 #546B21 #21546B
tetradic
#6B2154 #6B5D21 #216B38 #212F6B
square
#6B2154 #6B5D21 #216B38 #212F6B
split-complementary
#6B2154 #2F6B21 #216B5D
monochromatic
#170712 #3C132F #6B2154 #9A2F79 #C5429C

Accessibility & contrast

On white

10.66
#6B2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6B2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2154
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2154#FFFFFF#000000##FFFFFF
##6B21541.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273756
Deuteranopia (green-blind)
#3D4352
Tritanopia (blue-blind)
#722237
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b2154;
/* rgb */ color: rgb(107, 33, 84);
/* oklch */ color: oklch(38.1% 0.121 342.3);
Tailwind
colors: {
  custom: {
    50: '#986284',
    500: '#6b2154',
    950: '#000000',
  },
}
SCSS
$custom: #6b2154;
$custom-light: #986284;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2154",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 318.649,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38075,
    "c": 0.12129,
    "h": 342.3
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#6B2154
secondary
#499F64
accent
#DC794C
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #6B2154

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

Preview Lab → · Contrast checker → · Palette generator →

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