#6A2255#6A2255

#6A2255 is a dark, moderate pink. Relative luminance 0.049; OKLCH L 38.1% C 0.120 H 341.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#6A2255
RGBrgb(106, 34, 85)
HSLhsl(318, 51%, 27%)
HSVhsv(318, 68%, 42%)
CMYKcmyk(0%, 67.9%, 19.8%, 58.4%)
CIE-LABlab(26.35, 38.01, -14.44)
CIE-LCHlch(26.35, 40.66, 339.20°)
OKLaboklab(38.08% 0.1133 -0.0388)
OKLCHoklch(38.08% 0.12 341.1)
XYZxyz(8.1558, 4.8649, 9.1020)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2255 #226A37
analogous
#5B226A #6A2255 #6A2231
triadic
#6A2255 #556A22 #22556A
tetradic
#6A2255 #6A5B22 #226A37 #22316A
square
#6A2255 #6A5B22 #226A37 #22316A
split-complementary
#6A2255 #316A22 #226A5B
monochromatic
#170713 #3C1330 #6A2255 #98317A #C3449E

Accessibility & contrast

On white

10.64
#6A2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6A2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2255
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2255#FFFFFF#000000##FFFFFF
##6A22551.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273757
Deuteranopia (green-blind)
#3D4353
Tritanopia (blue-blind)
#702338
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a2255;
/* rgb */ color: rgb(106, 34, 85);
/* oklch */ color: oklch(38.1% 0.120 341.1);
Tailwind
colors: {
  custom: {
    50: '#976385',
    500: '#6a2255',
    950: '#000000',
  },
}
SCSS
$custom: #6a2255;
$custom-light: #976385;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2255",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 317.5,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38077,
    "c": 0.1197,
    "h": 341.1
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#6A2255
secondary
#4A9E63
accent
#DB764D
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #6A2255

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

Preview Lab → · Contrast checker → · Palette generator →

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