#6B2157#6B2157

#6B2157 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.2% C 0.123 H 340.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#6B2157
RGBrgb(107, 33, 87)
HSLhsl(316, 53%, 27%)
HSVhsv(316, 69%, 42%)
CMYKcmyk(0%, 69.2%, 18.7%, 58%)
CIE-LABlab(26.45, 39.08, -15.58)
CIE-LCHlch(26.45, 42.07, 338.27°)
OKLaboklab(38.22% 0.1162 -0.0419)
OKLCHoklch(38.22% 0.124 340.1)
XYZxyz(8.3278, 4.9024, 9.5226)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2157 #216B35
analogous
#5A216B #6B2157 #6B2132
triadic
#6B2157 #576B21 #21576B
tetradic
#6B2157 #6B5A21 #216B35 #21326B
square
#6B2157 #6B5A21 #216B35 #21326B
split-complementary
#6B2157 #326B21 #216B5A
monochromatic
#170713 #3C1331 #6B2157 #9A2F7D #C542A1

Accessibility & contrast

On white

10.60
#6B2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6B2157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2157
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2157#FFFFFF#000000##FFFFFF
##6B21571.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253759
Deuteranopia (green-blind)
#3C4355
Tritanopia (blue-blind)
#712338
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b2157;
/* rgb */ color: rgb(107, 33, 87);
/* oklch */ color: oklch(38.2% 0.123 340.1);
Tailwind
colors: {
  custom: {
    50: '#986286',
    500: '#6b2157',
    950: '#000000',
  },
}
SCSS
$custom: #6b2157;
$custom-light: #986286;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2157",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 316.216,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38222,
    "c": 0.1235,
    "h": 340.1
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#6B2157
secondary
#499F60
accent
#DC734C
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #6B2157

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

Preview Lab → · Contrast checker → · Palette generator →

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