#6A1235#6A1235

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

Color values

HEX#6A1235
RGBrgb(106, 18, 53)
HSLhsl(336, 71%, 24%)
HSVhsv(336, 83%, 42%)
CMYKcmyk(0%, 83%, 50%, 58.4%)
CIE-LABlab(22.84, 40.17, 1.99)
CIE-LCHlch(22.84, 40.22, 2.84°)
OKLaboklab(35.1% 0.1232 0.0055)
OKLCHoklch(35.1% 0.123 2.6)
XYZxyz(6.8033, 3.7548, 3.7340)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1235 #126A47
analogous
#6A1261 #6A1235 #6A1B12
triadic
#6A1235 #356A12 #12356A
tetradic
#6A1235 #616A12 #126A47 #1B126A
square
#6A1235 #616A12 #126A47 #1B126A
split-complementary
#6A1235 #126A1B #12616A
monochromatic
#1A040D #36091B #6A1235 #9E1B4F #D32469

Accessibility & contrast

On white

11.99
#6A1235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1235
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1235#FFFFFF#000000##FFFFFF
##6A12351.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282C36
Deuteranopia (green-blind)
#3F3D33
Tritanopia (blue-blind)
#740022
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #6a1235;
/* rgb */ color: rgb(106, 18, 53);
/* oklch */ color: oklch(35.1% 0.123 2.6);
Tailwind
colors: {
  custom: {
    50: '#995a6c',
    500: '#6a1235',
    950: '#000000',
  },
}
SCSS
$custom: #6a1235;
$custom-light: #995a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1235",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 336.136,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35098,
    "c": 0.12336,
    "h": 2.6
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#6A1235
secondary
#36A277
accent
#EEA63A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0406
muted
#7E797A

Preview Lab

Preview with #6A1235

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

Preview Lab → · Contrast checker → · Palette generator →

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