#6E255F#6E255F

#6E255F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.6% C 0.126 H 336.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#6E255F
RGBrgb(110, 37, 95)
HSLhsl(312, 50%, 29%)
HSVhsv(312, 66%, 43%)
CMYKcmyk(0%, 66.4%, 13.6%, 56.9%)
CIE-LABlab(28.02, 39.48, -18.36)
CIE-LCHlch(28.02, 43.53, 335.06°)
OKLaboklab(39.6% 0.1157 -0.0498)
OKLCHoklch(39.6% 0.126 336.7)
XYZxyz(9.1577, 5.4651, 11.3968)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E255F #256E34
analogous
#59256E #6E255F #6E253B
triadic
#6E255F #5F6E25 #255F6E
tetradic
#6E255F #6E5925 #256E34 #253B6E
square
#6E255F #6E5925 #256E34 #253B6E
split-complementary
#6E255F #3B6E25 #256E59
monochromatic
#170814 #401637 #6E255F #9C3487 #C24BAA

Accessibility & contrast

On white

10.03
#6E255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6E255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E255F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E255F#FFFFFF#000000##FFFFFF
##6E255F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B61
Deuteranopia (green-blind)
#3D465D
Tritanopia (blue-blind)
#74293E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e255f;
/* rgb */ color: rgb(110, 37, 95);
/* oklch */ color: oklch(39.6% 0.126 336.7);
Tailwind
colors: {
  custom: {
    50: '#9a658c',
    500: '#6e255f',
    950: '#000000',
  },
}
SCSS
$custom: #6e255f;
$custom-light: #9a658c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e255f",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 312.329,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39595,
    "c": 0.12593,
    "h": 336.7
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#6E255F
secondary
#4EA15F
accent
#D96B4F
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060C
muted
#7E7A7D

Preview Lab

Preview with #6E255F

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

Preview Lab → · Contrast checker → · Palette generator →

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