#6B145C#6B145C

#6B145C is a dark, vivid pink. Relative luminance 0.044; OKLCH L 37.2% C 0.144 H 336.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#6B145C
RGBrgb(107, 20, 92)
HSLhsl(310, 69%, 25%)
HSVhsv(310, 81%, 42%)
CMYKcmyk(0%, 81.3%, 14%, 58%)
CIE-LABlab(24.95, 44.83, -21.22)
CIE-LCHlch(24.95, 49.60, 334.67°)
OKLaboklab(37.21% 0.1317 -0.0579)
OKLCHoklch(37.21% 0.144 336.3)
XYZxyz(8.2455, 4.3996, 10.5381)
Luminance0.0440 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B145C #146B23
analogous
#4F146B #6B145C #6B1430
triadic
#6B145C #5C6B14 #145C6B
tetradic
#6B145C #6B4F14 #146B23 #14306B
square
#6B145C #6B4F14 #146B23 #14306B
split-complementary
#6B145C #306B14 #146B4F
monochromatic
#1A0516 #370A30 #6B145C #9F1E88 #D227B5

Accessibility & contrast

On white

11.17
#6B145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#6B145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B145C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B145C#FFFFFF#000000##FFFFFF
##6B145C1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335E
Deuteranopia (green-blind)
#35405A
Tritanopia (blue-blind)
#711B37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6b145c;
/* rgb */ color: rgb(107, 20, 92);
/* oklch */ color: oklch(37.2% 0.144 336.3);
Tailwind
colors: {
  custom: {
    50: '#995d8a',
    500: '#6b145c',
    950: '#000000',
  },
}
SCSS
$custom: #6b145c;
$custom-light: #995d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b145c",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 310.345,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37214,
    "c": 0.14389,
    "h": 336.3
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#6B145C
secondary
#39A24B
accent
#EB5B3C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B145C

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

Preview Lab → · Contrast checker → · Palette generator →

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