#6E1254#6E1254

#6E1254 is a dark, vivid pink. Relative luminance 0.044; OKLCH L 37.2% C 0.142 H 342.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#6E1254
RGBrgb(110, 18, 84)
HSLhsl(317, 72%, 25%)
HSVhsv(317, 84%, 43%)
CMYKcmyk(0%, 83.6%, 23.6%, 56.9%)
CIE-LABlab(24.92, 44.99, -15.92)
CIE-LCHlch(24.92, 47.73, 340.51°)
OKLaboklab(37.17% 0.1356 -0.0427)
OKLCHoklch(37.17% 0.142 342.5)
XYZxyz(8.2473, 4.3886, 8.7985)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1254 #126E2C
analogous
#5A126E #6E1254 #6E1226
triadic
#6E1254 #546E12 #12546E
tetradic
#6E1254 #6E5A12 #126E2C #12266E
square
#6E1254 #6E5A12 #126E2C #12266E
split-complementary
#6E1254 #266E12 #126E5A
monochromatic
#1A0414 #39092C #6E1254 #A31B7C #D723A4

Accessibility & contrast

On white

11.18
#6E1254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#6E1254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1254
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1254#FFFFFF#000000##FFFFFF
##6E12541.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3256
Deuteranopia (green-blind)
#3A4052
Tritanopia (blue-blind)
#751332
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6e1254;
/* rgb */ color: rgb(110, 18, 84);
/* oklch */ color: oklch(37.2% 0.142 342.5);
Tailwind
colors: {
  custom: {
    50: '#9b5c84',
    500: '#6e1254',
    950: '#000000',
  },
}
SCSS
$custom: #6e1254;
$custom-light: #9b5c84;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1254",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 316.957,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37165,
    "c": 0.14219,
    "h": 342.5
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#6E1254
secondary
#37A556
accent
#EF6C39
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0F050B
muted
#7E797C

Preview Lab

Preview with #6E1254

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

Preview Lab → · Contrast checker → · Palette generator →

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