#6A235C#6A235C

#6A235C is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.124 H 336.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#6A235C
RGBrgb(106, 35, 92)
HSLhsl(312, 50%, 28%)
HSVhsv(312, 67%, 42%)
CMYKcmyk(0%, 67%, 13.2%, 58.4%)
CIE-LABlab(26.85, 38.71, -18.27)
CIE-LCHlch(26.85, 42.80, 334.73°)
OKLaboklab(38.55% 0.1132 -0.0496)
OKLCHoklch(38.55% 0.124 336.3)
XYZxyz(8.4768, 5.0396, 10.6494)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A235C #236A31
analogous
#54236A #6A235C #6A2338
triadic
#6A235C #5C6A23 #235C6A
tetradic
#6A235C #6A5423 #236A31 #23386A
square
#6A235C #6A5423 #236A31 #23386A
split-complementary
#6A235C #386A23 #236A54
monochromatic
#170814 #3C1434 #6A235C #983284 #C246A9

Accessibility & contrast

On white

10.46
#6A235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6A235C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A235C
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A235C#FFFFFF#000000##FFFFFF
##6A235C1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395E
Deuteranopia (green-blind)
#3A435A
Tritanopia (blue-blind)
#70273C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a235c;
/* rgb */ color: rgb(106, 35, 92);
/* oklch */ color: oklch(38.6% 0.124 336.3);
Tailwind
colors: {
  custom: {
    50: '#97638a',
    500: '#6a235c',
    950: '#000000',
  },
}
SCSS
$custom: #6a235c;
$custom-light: #97638a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a235c",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 311.831,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38553,
    "c": 0.12363,
    "h": 336.3
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#6A235C
secondary
#4B9D5C
accent
#DA6A4E
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060B
muted
#7E7A7C

Preview Lab

Preview with #6A235C

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

Preview Lab → · Contrast checker → · Palette generator →

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