#6E1231#6E1231

#6E1231 is a dark, vivid pink. Relative luminance 0.040; OKLCH L 35.7% C 0.126 H 7.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#6E1231
RGBrgb(110, 18, 49)
HSLhsl(340, 72%, 25%)
HSVhsv(340, 84%, 43%)
CMYKcmyk(0%, 83.6%, 55.5%, 56.9%)
CIE-LABlab(23.57, 41.00, 5.92)
CIE-LCHlch(23.57, 41.43, 8.22°)
OKLaboklab(35.75% 0.1251 0.0153)
OKLCHoklch(35.75% 0.126 7)
XYZxyz(7.2018, 3.9704, 3.2923)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1231 #126E4F
analogous
#6E125F #6E1231 #6E2112
triadic
#6E1231 #316E12 #12316E
tetradic
#6E1231 #5F6E12 #126E4F #21126E
square
#6E1231 #5F6E12 #126E4F #21126E
split-complementary
#6E1231 #126E21 #125F6E
monochromatic
#1A040C #39091A #6E1231 #A31B48 #D72360

Accessibility & contrast

On white

11.71
#6E1231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#6E1231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1231
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1231#FFFFFF#000000##FFFFFF
##6E12311.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C32
Deuteranopia (green-blind)
#433F2F
Tritanopia (blue-blind)
#790020
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6e1231;
/* rgb */ color: rgb(110, 18, 49);
/* oklch */ color: oklch(35.7% 0.126 7.0);
Tailwind
colors: {
  custom: {
    50: '#9d5b68',
    500: '#6e1231',
    950: '#000000',
  },
}
SCSS
$custom: #6e1231;
$custom-light: #9d5b68;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1231",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 339.783,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35748,
    "c": 0.12603,
    "h": 7
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#6E1231
secondary
#37A580
accent
#EFB139
background
#FAF5F6
surface
#F4E9EB
border
#CEC5C6
text
#0F0406
muted
#7F797A

Preview Lab

Preview with #6E1231

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

Preview Lab → · Contrast checker → · Palette generator →

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