#6A1438#6A1438

#6A1438 is a dark, vivid pink. Relative luminance 0.038; OKLCH L 35.4% C 0.122 H 0.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#6A1438
RGBrgb(106, 20, 56)
HSLhsl(335, 68%, 25%)
HSVhsv(335, 81%, 42%)
CMYKcmyk(0%, 81.1%, 47.2%, 58.4%)
CIE-LABlab(23.17, 39.82, 0.39)
CIE-LCHlch(23.17, 39.82, 0.57°)
OKLaboklab(35.37% 0.1223 0.0015)
OKLCHoklch(35.37% 0.122 0.7)
XYZxyz(6.9084, 3.8509, 4.1201)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1438 #146A46
analogous
#6A1463 #6A1438 #6A1B14
triadic
#6A1438 #386A14 #14386A
tetradic
#6A1438 #636A14 #146A46 #1B146A
square
#6A1438 #636A14 #146A46 #1B146A
split-complementary
#6A1438 #146A1B #14636A
monochromatic
#1A050E #370A1D #6A1438 #9D1E53 #D1276E

Accessibility & contrast

On white

11.86
#6A1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#6A1438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1438
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1438#FFFFFF#000000##FFFFFF
##6A14381.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282D39
Deuteranopia (green-blind)
#3F3D36
Tritanopia (blue-blind)
#740324
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a1438;
/* rgb */ color: rgb(106, 20, 56);
/* oklch */ color: oklch(35.4% 0.122 0.7);
Tailwind
colors: {
  custom: {
    50: '#995b6e',
    500: '#6a1438',
    950: '#000000',
  },
}
SCSS
$custom: #6a1438;
$custom-light: #995b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1438",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 334.884,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35371,
    "c": 0.12228,
    "h": 0.7
  },
  "luminance": 0.0385
}

Semantic roles & 50–950 ramp

primary
#6A1438
secondary
#39A175
accent
#EBA23D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0407
muted
#7E797A

Preview Lab

Preview with #6A1438

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

Preview Lab → · Contrast checker → · Palette generator →

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