#6B245C#6B245C

#6B245C is a dark, vivid pink. Relative luminance 0.052; OKLCH L 38.8% C 0.123 H 337.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#6B245C
RGBrgb(107, 36, 92)
HSLhsl(313, 50%, 28%)
HSVhsv(313, 66%, 42%)
CMYKcmyk(0%, 66.4%, 14%, 58%)
CIE-LABlab(27.19, 38.54, -17.73)
CIE-LCHlch(27.19, 42.42, 335.30°)
OKLaboklab(38.84% 0.113 -0.0481)
OKLCHoklch(38.84% 0.123 337)
XYZxyz(8.6262, 5.1610, 10.6650)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B245C #246B33
analogous
#56246B #6B245C #6B2438
triadic
#6B245C #5C6B24 #245C6B
tetradic
#6B245C #6B5624 #246B33 #24386B
square
#6B245C #6B5624 #246B33 #24386B
split-complementary
#6B245C #386B24 #246B56
monochromatic
#170814 #3D1535 #6B245C #993383 #C148A8

Accessibility & contrast

On white

10.33
#6B245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B245C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B245C#FFFFFF#000000##FFFFFF
##6B245C1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395E
Deuteranopia (green-blind)
#3C445A
Tritanopia (blue-blind)
#71273C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b245c;
/* rgb */ color: rgb(107, 36, 92);
/* oklch */ color: oklch(38.8% 0.123 337.0);
Tailwind
colors: {
  custom: {
    50: '#98648a',
    500: '#6b245c',
    950: '#000000',
  },
}
SCSS
$custom: #6b245c;
$custom-light: #98648a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b245c",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 312.676,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38837,
    "c": 0.12282,
    "h": 337
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#6B245C
secondary
#4D9E5E
accent
#D96C4F
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060B
muted
#7E7A7C

Preview Lab

Preview with #6B245C

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

Preview Lab → · Contrast checker → · Palette generator →

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