#6A1338#6A1338

#6A1338 is a dark, vivid pink. Relative luminance 0.038; OKLCH L 35.3% C 0.123 H 0.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#6A1338
RGBrgb(106, 19, 56)
HSLhsl(334, 70%, 25%)
HSVhsv(334, 82%, 42%)
CMYKcmyk(0%, 82.1%, 47.2%, 58.4%)
CIE-LABlab(23.05, 40.15, 0.22)
CIE-LCHlch(23.05, 40.15, 0.32°)
OKLaboklab(35.28% 0.1233 0.001)
OKLCHoklch(35.28% 0.123 0.5)
XYZxyz(6.8911, 3.8164, 4.1144)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1338 #136A45
analogous
#6A1364 #6A1338 #6A1A13
triadic
#6A1338 #386A13 #13386A
tetradic
#6A1338 #646A13 #136A45 #1A136A
square
#6A1338 #646A13 #136A45 #1A136A
split-complementary
#6A1338 #136A1A #13646A
monochromatic
#1A050E #360A1D #6A1338 #9E1C53 #D2266F

Accessibility & contrast

On white

11.91
#6A1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#6A1338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1338
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1338#FFFFFF#000000##FFFFFF
##6A13381.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272C39
Deuteranopia (green-blind)
#3F3D36
Tritanopia (blue-blind)
#740223
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a1338;
/* rgb */ color: rgb(106, 19, 56);
/* oklch */ color: oklch(35.3% 0.123 0.5);
Tailwind
colors: {
  custom: {
    50: '#995b6e',
    500: '#6a1338',
    950: '#000000',
  },
}
SCSS
$custom: #6a1338;
$custom-light: #995b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1338",
  "rgb": {
    "r": 106,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 334.483,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35285,
    "c": 0.12334,
    "h": 0.5
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#6A1338
secondary
#38A174
accent
#ECA13B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0407
muted
#7E797A

Preview Lab

Preview with #6A1338

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

Preview Lab → · Contrast checker → · Palette generator →

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