#6E1F52#6E1F52

#6E1F52 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.3% C 0.125 H 345.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#6E1F52
RGBrgb(110, 31, 82)
HSLhsl(321, 56%, 28%)
HSVhsv(321, 72%, 43%)
CMYKcmyk(0%, 71.8%, 25.5%, 56.9%)
CIE-LABlab(26.46, 40.07, -12.21)
CIE-LCHlch(26.46, 41.89, 343.06°)
OKLaboklab(38.26% 0.121 -0.0324)
OKLCHoklch(38.26% 0.125 345)
XYZxyz(8.4437, 4.9050, 8.4831)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F52 #1F6E3B
analogous
#621F6E #6E1F52 #6E1F2A
triadic
#6E1F52 #526E1F #1F526E
tetradic
#6E1F52 #6E621F #1F6E3B #1F2A6E
square
#6E1F52 #6E621F #1F6E3B #1F2A6E
split-complementary
#6E1F52 #2A6E1F #1F6E62
monochromatic
#180712 #3E122E #6E1F52 #9E2C76 #C93F98

Accessibility & contrast

On white

10.60
#6E1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6E1F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F52
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F52#FFFFFF#000000##FFFFFF
##6E1F521.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283653
Deuteranopia (green-blind)
#3F4350
Tritanopia (blue-blind)
#761E35
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e1f52;
/* rgb */ color: rgb(110, 31, 82);
/* oklch */ color: oklch(38.3% 0.125 345.0);
Tailwind
colors: {
  custom: {
    50: '#9b6282',
    500: '#6e1f52',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f52;
$custom-light: #9b6282;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f52",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 321.266,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38258,
    "c": 0.12524,
    "h": 345
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#6E1F52
secondary
#47A267
accent
#DF7E48
background
#F9F6F7
surface
#F2EBEE
border
#CCC6C9
text
#0E050A
muted
#7E7A7C

Preview Lab

Preview with #6E1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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