#6A1232#6A1232

#6A1232 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.0% C 0.122 H 4.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#6A1232
RGBrgb(106, 18, 50)
HSLhsl(338, 71%, 24%)
HSVhsv(338, 83%, 42%)
CMYKcmyk(0%, 83%, 52.8%, 58.4%)
CIE-LABlab(22.75, 39.89, 3.94)
CIE-LCHlch(22.75, 40.08, 5.65°)
OKLaboklab(35% 0.1221 0.0104)
OKLCHoklch(35% 0.123 4.9)
XYZxyz(6.7365, 3.7280, 3.3818)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1232 #126A4A
analogous
#6A125E #6A1232 #6A1E12
triadic
#6A1232 #326A12 #12326A
tetradic
#6A1232 #5E6A12 #126A4A #1E126A
square
#6A1232 #5E6A12 #126A4A #1E126A
split-complementary
#6A1232 #126A1E #125E6A
monochromatic
#1A040C #360919 #6A1232 #9E1B4B #D32463

Accessibility & contrast

On white

12.03
#6A1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#6A1232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1232
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1232#FFFFFF#000000##FFFFFF
##6A12321.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292B33
Deuteranopia (green-blind)
#403D30
Tritanopia (blue-blind)
#740020
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #6a1232;
/* rgb */ color: rgb(106, 18, 50);
/* oklch */ color: oklch(35.0% 0.122 4.9);
Tailwind
colors: {
  custom: {
    50: '#9a5a69',
    500: '#6a1232',
    950: '#000000',
  },
}
SCSS
$custom: #6a1232;
$custom-light: #9a5a69;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1232",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 338.182,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35,
    "c": 0.1225,
    "h": 4.9
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#6A1232
secondary
#36A27B
accent
#EEAC3A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0406
muted
#7E797A

Preview Lab

Preview with #6A1232

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

Preview Lab → · Contrast checker → · Palette generator →

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