#6E1258#6E1258

#6E1258 is a dark, vivid pink. Relative luminance 0.045; OKLCH L 37.4% C 0.145 H 340.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#6E1258
RGBrgb(110, 18, 88)
HSLhsl(314, 72%, 25%)
HSVhsv(314, 84%, 43%)
CMYKcmyk(0%, 83.6%, 20%, 56.9%)
CIE-LABlab(25.12, 45.56, -18.27)
CIE-LCHlch(25.12, 49.09, 338.15°)
OKLaboklab(37.37% 0.1362 -0.0494)
OKLCHoklch(37.37% 0.145 340.1)
XYZxyz(8.4084, 4.4531, 9.6473)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1258 #126E28
analogous
#56126E #6E1258 #6E122A
triadic
#6E1258 #586E12 #12586E
tetradic
#6E1258 #6E5612 #126E28 #122A6E
square
#6E1258 #6E5612 #126E28 #122A6E
split-complementary
#6E1258 #2A6E12 #126E56
monochromatic
#1A0415 #39092E #6E1258 #A31B82 #D723AC

Accessibility & contrast

On white

11.11
#6E1258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#6E1258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1258
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1258#FFFFFF#000000##FFFFFF
##6E12581.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A325A
Deuteranopia (green-blind)
#394156
Tritanopia (blue-blind)
#751634
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6e1258;
/* rgb */ color: rgb(110, 18, 88);
/* oklch */ color: oklch(37.4% 0.145 340.1);
Tailwind
colors: {
  custom: {
    50: '#9b5c87',
    500: '#6e1258',
    950: '#000000',
  },
}
SCSS
$custom: #6e1258;
$custom-light: #9b5c87;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1258",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 314.348,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37373,
    "c": 0.14488,
    "h": 340.1
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#6E1258
secondary
#37A551
accent
#EF6539
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0F050B
muted
#7E797C

Preview Lab

Preview with #6E1258

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

Preview Lab → · Contrast checker → · Palette generator →

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