#6A2256#6A2256

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

Color values

HEX#6A2256
RGBrgb(106, 34, 86)
HSLhsl(317, 51%, 27%)
HSVhsv(317, 68%, 42%)
CMYKcmyk(0%, 67.9%, 18.9%, 58.4%)
CIE-LABlab(26.39, 38.17, -15.03)
CIE-LCHlch(26.39, 41.02, 338.51°)
OKLaboklab(38.13% 0.1135 -0.0404)
OKLCHoklch(38.13% 0.12 340.4)
XYZxyz(8.1958, 4.8809, 9.3128)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2256 #226A36
analogous
#5A226A #6A2256 #6A2232
triadic
#6A2256 #566A22 #22566A
tetradic
#6A2256 #6A5A22 #226A36 #22326A
square
#6A2256 #6A5A22 #226A36 #22326A
split-complementary
#6A2256 #326A22 #226A5A
monochromatic
#170713 #3C1330 #6A2256 #98317C #C3449F

Accessibility & contrast

On white

10.63
#6A2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2256
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2256#FFFFFF#000000##FFFFFF
##6A22561.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263758
Deuteranopia (green-blind)
#3C4354
Tritanopia (blue-blind)
#702438
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a2256;
/* rgb */ color: rgb(106, 34, 86);
/* oklch */ color: oklch(38.1% 0.120 340.4);
Tailwind
colors: {
  custom: {
    50: '#976385',
    500: '#6a2256',
    950: '#000000',
  },
}
SCSS
$custom: #6a2256;
$custom-light: #976385;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2256",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 316.667,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38127,
    "c": 0.12045,
    "h": 340.4
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#6A2256
secondary
#4A9E61
accent
#DB744D
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #6A2256

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

Preview Lab → · Contrast checker → · Palette generator →

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