#6B245E#6B245E

#6B245E is a dark, vivid pink. Relative luminance 0.052; OKLCH L 38.9% C 0.124 H 335.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#6B245E
RGBrgb(107, 36, 94)
HSLhsl(311, 50%, 28%)
HSVhsv(311, 66%, 42%)
CMYKcmyk(0%, 66.4%, 12.1%, 58%)
CIE-LABlab(27.29, 38.88, -18.88)
CIE-LCHlch(27.29, 43.22, 334.09°)
OKLaboklab(38.94% 0.1134 -0.0513)
OKLCHoklch(38.94% 0.124 335.6)
XYZxyz(8.7147, 5.1964, 11.1315)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B245E #246B31
analogous
#54246B #6B245E #6B243A
triadic
#6B245E #5E6B24 #245E6B
tetradic
#6B245E #6B5424 #246B31 #243A6B
square
#6B245E #6B5424 #246B31 #243A6B
split-complementary
#6B245E #3A6B24 #246B54
monochromatic
#170814 #3D1536 #6B245E #993386 #C148AB

Accessibility & contrast

On white

10.30
#6B245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6B245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B245E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B245E#FFFFFF#000000##FFFFFF
##6B245E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A60
Deuteranopia (green-blind)
#3B445C
Tritanopia (blue-blind)
#70283D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b245e;
/* rgb */ color: rgb(107, 36, 94);
/* oklch */ color: oklch(38.9% 0.124 335.6);
Tailwind
colors: {
  custom: {
    50: '#98648c',
    500: '#6b245e',
    950: '#000000',
  },
}
SCSS
$custom: #6b245e;
$custom-light: #98648c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b245e",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 310.986,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38941,
    "c": 0.12446,
    "h": 335.6
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#6B245E
secondary
#4D9E5C
accent
#D9684F
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060C
muted
#7E7A7D

Preview Lab

Preview with #6B245E

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

Preview Lab → · Contrast checker → · Palette generator →

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