#6A2252#6A2252

#6A2252 is a dark, moderate pink. Relative luminance 0.048; OKLCH L 37.9% C 0.118 H 343.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#6A2252
RGBrgb(106, 34, 82)
HSLhsl(320, 51%, 27%)
HSVhsv(320, 68%, 42%)
CMYKcmyk(0%, 67.9%, 22.6%, 58.4%)
CIE-LABlab(26.21, 37.54, -12.66)
CIE-LCHlch(26.21, 39.61, 341.36°)
OKLaboklab(37.93% 0.1126 -0.0338)
OKLCHoklch(37.93% 0.118 343.3)
XYZxyz(8.0391, 4.8182, 8.4876)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2252 #226A3A
analogous
#5E226A #6A2252 #6A222E
triadic
#6A2252 #526A22 #22526A
tetradic
#6A2252 #6A5E22 #226A3A #222E6A
square
#6A2252 #6A5E22 #226A3A #222E6A
split-complementary
#6A2252 #2E6A22 #226A5E
monochromatic
#170712 #3C132E #6A2252 #983176 #C34498

Accessibility & contrast

On white

10.70
#6A2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6A2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2252
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2252#FFFFFF#000000##FFFFFF
##6A22521.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283653
Deuteranopia (green-blind)
#3E4250
Tritanopia (blue-blind)
#712236
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a2252;
/* rgb */ color: rgb(106, 34, 82);
/* oklch */ color: oklch(37.9% 0.118 343.3);
Tailwind
colors: {
  custom: {
    50: '#976382',
    500: '#6a2252',
    950: '#000000',
  },
}
SCSS
$custom: #6a2252;
$custom-light: #976382;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2252",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 320,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37933,
    "c": 0.11753,
    "h": 343.3
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#6A2252
secondary
#4A9E66
accent
#DB7C4D
background
#F9F6F7
surface
#F2EBEE
border
#CCC6C9
text
#0E050A
muted
#7E7A7C

Preview Lab

Preview with #6A2252

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

Preview Lab → · Contrast checker → · Palette generator →

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