#6A1239#6A1239

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

Color values

HEX#6A1239
RGBrgb(106, 18, 57)
HSLhsl(333, 71%, 24%)
HSVhsv(333, 83%, 42%)
CMYKcmyk(0%, 83%, 46.2%, 58.4%)
CIE-LABlab(22.98, 40.58, -0.59)
CIE-LCHlch(22.98, 40.58, 359.17°)
OKLaboklab(35.24% 0.1247 -0.0011)
OKLCHoklch(35.24% 0.125 359.5)
XYZxyz(6.8992, 3.7931, 4.2389)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1239 #126A43
analogous
#6A1265 #6A1239 #6A1712
triadic
#6A1239 #396A12 #12396A
tetradic
#6A1239 #656A12 #126A43 #17126A
square
#6A1239 #656A12 #126A43 #17126A
split-complementary
#6A1239 #126A17 #12656A
monochromatic
#1A040E #36091D #6A1239 #9E1B55 #D32471

Accessibility & contrast

On white

11.94
#6A1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1239
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1239#FFFFFF#000000##FFFFFF
##6A12391.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272C3A
Deuteranopia (green-blind)
#3E3D37
Tritanopia (blue-blind)
#740124
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a1239;
/* rgb */ color: rgb(106, 18, 57);
/* oklch */ color: oklch(35.2% 0.125 359.5);
Tailwind
colors: {
  custom: {
    50: '#995b6f',
    500: '#6a1239',
    950: '#000000',
  },
}
SCSS
$custom: #6a1239;
$custom-light: #995b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1239",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 333.409,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35237,
    "c": 0.12473,
    "h": 359.5
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#6A1239
secondary
#36A272
accent
#EE9E3A
background
#F9F5F6
surface
#F2E9EC
border
#CCC5C7
text
#0F0407
muted
#7E797A

Preview Lab

Preview with #6A1239

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

Preview Lab → · Contrast checker → · Palette generator →

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