#6A1236#6A1236

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

Color values

HEX#6A1236
RGBrgb(106, 18, 54)
HSLhsl(335, 71%, 24%)
HSVhsv(335, 83%, 42%)
CMYKcmyk(0%, 83%, 49.1%, 58.4%)
CIE-LABlab(22.88, 40.27, 1.35)
CIE-LCHlch(22.88, 40.29, 1.92°)
OKLaboklab(35.13% 0.1236 0.0039)
OKLCHoklch(35.13% 0.124 1.8)
XYZxyz(6.8266, 3.7641, 3.8564)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1236 #126A46
analogous
#6A1262 #6A1236 #6A1A12
triadic
#6A1236 #366A12 #12366A
tetradic
#6A1236 #626A12 #126A46 #1A126A
square
#6A1236 #626A12 #126A46 #1A126A
split-complementary
#6A1236 #126A1A #12626A
monochromatic
#1A040D #36091B #6A1236 #9E1B51 #D3246B

Accessibility & contrast

On white

11.98
#6A1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1236
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1236#FFFFFF#000000##FFFFFF
##6A12361.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282C37
Deuteranopia (green-blind)
#3F3D34
Tritanopia (blue-blind)
#740022
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a1236;
/* rgb */ color: rgb(106, 18, 54);
/* oklch */ color: oklch(35.1% 0.124 1.8);
Tailwind
colors: {
  custom: {
    50: '#995a6c',
    500: '#6a1236',
    950: '#000000',
  },
}
SCSS
$custom: #6a1236;
$custom-light: #995a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1236",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 335.455,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35132,
    "c": 0.12368,
    "h": 1.8
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#6A1236
secondary
#36A276
accent
#EEA43A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0407
muted
#7E797A

Preview Lab

Preview with #6A1236

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

Preview Lab → · Contrast checker → · Palette generator →

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