#6E1257#6E1257

#6E1257 is a dark, vivid pink. Relative luminance 0.044; OKLCH L 37.3% C 0.144 H 340.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#6E1257
RGBrgb(110, 18, 87)
HSLhsl(315, 72%, 25%)
HSVhsv(315, 84%, 43%)
CMYKcmyk(0%, 83.6%, 20.9%, 56.9%)
CIE-LABlab(25.07, 45.42, -17.69)
CIE-LCHlch(25.07, 48.74, 338.72°)
OKLaboklab(37.32% 0.1361 -0.0477)
OKLCHoklch(37.32% 0.144 340.7)
XYZxyz(8.3673, 4.4366, 9.4307)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1257 #126E29
analogous
#57126E #6E1257 #6E1229
triadic
#6E1257 #576E12 #12576E
tetradic
#6E1257 #6E5712 #126E29 #12296E
square
#6E1257 #6E5712 #126E29 #12296E
split-complementary
#6E1257 #296E12 #126E57
monochromatic
#1A0415 #39092D #6E1257 #A31B81 #D723AA

Accessibility & contrast

On white

11.13
#6E1257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1257
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1257#FFFFFF#000000##FFFFFF
##6E12571.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3259
Deuteranopia (green-blind)
#394155
Tritanopia (blue-blind)
#751534
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6e1257;
/* rgb */ color: rgb(110, 18, 87);
/* oklch */ color: oklch(37.3% 0.144 340.7);
Tailwind
colors: {
  custom: {
    50: '#9b5c86',
    500: '#6e1257',
    950: '#000000',
  },
}
SCSS
$custom: #6e1257;
$custom-light: #9b5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1257",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 315,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3732,
    "c": 0.1442,
    "h": 340.7
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#6E1257
secondary
#37A552
accent
#EF6739
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0F050B
muted
#7E797C

Preview Lab

Preview with #6E1257

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

Preview Lab → · Contrast checker → · Palette generator →

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