#6D1258#6D1258

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

Color values

HEX#6D1258
RGBrgb(109, 18, 88)
HSLhsl(314, 72%, 25%)
HSVhsv(314, 83%, 43%)
CMYKcmyk(0%, 83.5%, 19.3%, 57.3%)
CIE-LABlab(24.92, 45.32, -18.59)
CIE-LCHlch(24.92, 48.99, 337.69°)
OKLaboklab(37.2% 0.1352 -0.0503)
OKLCHoklch(37.2% 0.144 339.6)
XYZxyz(8.2847, 4.3892, 9.6415)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1258 #126D27
analogous
#55126D #6D1258 #6D122B
triadic
#6D1258 #586D12 #12586D
tetradic
#6D1258 #6D5512 #126D27 #122B6D
square
#6D1258 #6D5512 #126D27 #122B6D
split-complementary
#6D1258 #2B6D12 #126D55
monochromatic
#1A0415 #38092E #6D1258 #A21B82 #D623AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D1258#FFFFFF#000000##FFFFFF
##6D12581.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)
#19325A
Deuteranopia (green-blind)
#384056
Tritanopia (blue-blind)
#741634
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6d1258;
/* rgb */ color: rgb(109, 18, 88);
/* oklch */ color: oklch(37.2% 0.144 339.6);
Tailwind
colors: {
  custom: {
    50: '#9a5c87',
    500: '#6d1258',
    950: '#000000',
  },
}
SCSS
$custom: #6d1258;
$custom-light: #9a5c87;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1258",
  "rgb": {
    "r": 109,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 313.846,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.14426,
    "h": 339.6
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#6D1258
secondary
#37A450
accent
#EE6339
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6D1258

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

Preview Lab → · Contrast checker → · Palette generator →

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