#6A1231#6A1231

#6A1231 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.0% C 0.122 H 5.6°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#6A1231
RGBrgb(106, 18, 49)
HSLhsl(339, 71%, 24%)
HSVhsv(339, 83%, 42%)
CMYKcmyk(0%, 83%, 53.8%, 58.4%)
CIE-LABlab(22.72, 39.80, 4.60)
CIE-LCHlch(22.72, 40.06, 6.59°)
OKLaboklab(34.97% 0.1217 0.012)
OKLCHoklch(34.97% 0.122 5.6)
XYZxyz(6.7151, 3.7195, 3.2695)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1231 #126A4B
analogous
#6A125D #6A1231 #6A1F12
triadic
#6A1231 #316A12 #12316A
tetradic
#6A1231 #5D6A12 #126A4B #1F126A
square
#6A1231 #5D6A12 #126A4B #1F126A
split-complementary
#6A1231 #126A1F #125D6A
monochromatic
#1A040C #360919 #6A1231 #9E1B49 #D32461

Accessibility & contrast

On white

12.04
#6A1231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#6A1231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1231
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1231#FFFFFF#000000##FFFFFF
##6A12311.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292B32
Deuteranopia (green-blind)
#403C2F
Tritanopia (blue-blind)
#740020
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #6a1231;
/* rgb */ color: rgb(106, 18, 49);
/* oklch */ color: oklch(35.0% 0.122 5.6);
Tailwind
colors: {
  custom: {
    50: '#9a5a68',
    500: '#6a1231',
    950: '#000000',
  },
}
SCSS
$custom: #6a1231;
$custom-light: #9a5a68;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1231",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 338.864,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34968,
    "c": 0.12224,
    "h": 5.6
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#6A1231
secondary
#36A27C
accent
#EEAE3A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0406
muted
#7E797A

Preview Lab

Preview with #6A1231

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

Preview Lab → · Contrast checker → · Palette generator →

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