#6A1234#6A1234

#6A1234 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.1% C 0.123 H 3.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#6A1234
RGBrgb(106, 18, 52)
HSLhsl(337, 71%, 24%)
HSVhsv(337, 83%, 42%)
CMYKcmyk(0%, 83%, 50.9%, 58.4%)
CIE-LABlab(22.81, 40.08, 2.64)
CIE-LCHlch(22.81, 40.16, 3.77°)
OKLaboklab(35.06% 0.1229 0.0072)
OKLCHoklch(35.06% 0.123 3.3)
XYZxyz(6.7806, 3.7457, 3.6141)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1234 #126A48
analogous
#6A1260 #6A1234 #6A1C12
triadic
#6A1234 #346A12 #12346A
tetradic
#6A1234 #606A12 #126A48 #1C126A
square
#6A1234 #606A12 #126A48 #1C126A
split-complementary
#6A1234 #126A1C #12606A
monochromatic
#1A040D #36091A #6A1234 #9E1B4E #D32467

Accessibility & contrast

On white

12.01
#6A1234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1234
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1234#FFFFFF#000000##FFFFFF
##6A12341.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B35
Deuteranopia (green-blind)
#3F3D32
Tritanopia (blue-blind)
#740021
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #6a1234;
/* rgb */ color: rgb(106, 18, 52);
/* oklch */ color: oklch(35.1% 0.123 3.3);
Tailwind
colors: {
  custom: {
    50: '#995a6b',
    500: '#6a1234',
    950: '#000000',
  },
}
SCSS
$custom: #6a1234;
$custom-light: #995a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1234",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 336.818,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35064,
    "c": 0.12306,
    "h": 3.3
  },
  "luminance": 0.03745
}

Semantic roles & 50–950 ramp

primary
#6A1234
secondary
#36A278
accent
#EEA83A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0406
muted
#7E797A

Preview Lab

Preview with #6A1234

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

Preview Lab → · Contrast checker → · Palette generator →

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