#6A1138#6A1138

#6A1138 is a dark, vivid pink. Relative luminance 0.038; OKLCH L 35.1% C 0.125 H 0.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#6A1138
RGBrgb(106, 17, 56)
HSLhsl(334, 72%, 24%)
HSVhsv(334, 84%, 42%)
CMYKcmyk(0%, 84%, 47.2%, 58.4%)
CIE-LABlab(22.83, 40.78, -0.10)
CIE-LCHlch(22.83, 40.78, 359.86°)
OKLaboklab(35.12% 0.1254 0.0002)
OKLCHoklch(35.12% 0.125 0.1)
XYZxyz(6.8587, 3.7515, 4.1036)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1138 #116A43
analogous
#6A1165 #6A1138 #6A1711
triadic
#6A1138 #386A11 #11386A
tetradic
#6A1138 #656A11 #116A43 #17116A
square
#6A1138 #656A11 #116A43 #17116A
split-complementary
#6A1138 #116A17 #11656A
monochromatic
#1A040E #35091C #6A1138 #9F1954 #D32270

Accessibility & contrast

On white

12.00
#6A1138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1138
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1138#FFFFFF#000000##FFFFFF
##6A11381.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262C39
Deuteranopia (green-blind)
#3E3D36
Tritanopia (blue-blind)
#740023
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #6a1138;
/* rgb */ color: rgb(106, 17, 56);
/* oklch */ color: oklch(35.1% 0.125 0.1);
Tailwind
colors: {
  custom: {
    50: '#995a6e',
    500: '#6a1138',
    950: '#000000',
  },
}
SCSS
$custom: #6a1138;
$custom-light: #995a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1138",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 333.708,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35122,
    "c": 0.12537,
    "h": 0.1
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#6A1138
secondary
#35A272
accent
#EF9F39
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0407
muted
#7E797A

Preview Lab

Preview with #6A1138

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

Preview Lab → · Contrast checker → · Palette generator →

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