#6D1257#6D1257

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

Color values

HEX#6D1257
RGBrgb(109, 18, 87)
HSLhsl(315, 72%, 25%)
HSVhsv(315, 83%, 43%)
CMYKcmyk(0%, 83.5%, 20.2%, 57.3%)
CIE-LABlab(24.87, 45.17, -18.01)
CIE-LCHlch(24.87, 48.63, 338.26°)
OKLaboklab(37.14% 0.1351 -0.0487)
OKLCHoklch(37.14% 0.144 340.2)
XYZxyz(8.2435, 4.3728, 9.4249)
Luminance0.0437 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1257 #126D28
analogous
#55126D #6D1257 #6D122A
triadic
#6D1257 #576D12 #12576D
tetradic
#6D1257 #6D5512 #126D28 #122A6D
square
#6D1257 #6D5512 #126D28 #122A6D
split-complementary
#6D1257 #2A6D12 #126D55
monochromatic
#1A0415 #38092D #6D1257 #A21B81 #D623AB

Accessibility & contrast

On white

11.20
#6D1257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#6D1257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1257
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1257#FFFFFF#000000##FFFFFF
##6D12571.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1257;
/* rgb */ color: rgb(109, 18, 87);
/* oklch */ color: oklch(37.1% 0.144 340.2);
Tailwind
colors: {
  custom: {
    50: '#9a5c86',
    500: '#6d1257',
    950: '#000000',
  },
}
SCSS
$custom: #6d1257;
$custom-light: #9a5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1257",
  "rgb": {
    "r": 109,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 314.505,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37141,
    "c": 0.14357,
    "h": 340.2
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#6D1257
secondary
#37A451
accent
#EE6539
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6D1257

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

Preview Lab → · Contrast checker → · Palette generator →

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