#6A1252#6A1252

#6A1252 is a dark, vivid pink. Relative luminance 0.041; OKLCH L 36.3% C 0.138 H 341.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#6A1252
RGBrgb(106, 18, 82)
HSLhsl(316, 71%, 24%)
HSVhsv(316, 83%, 42%)
CMYKcmyk(0%, 83%, 22.6%, 58.4%)
CIE-LABlab(24.02, 43.69, -16.03)
CIE-LCHlch(24.02, 46.54, 339.85°)
OKLaboklab(36.34% 0.1314 -0.0431)
OKLCHoklch(36.34% 0.138 341.8)
XYZxyz(7.6834, 4.1068, 8.3691)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1252 #126A2A
analogous
#56126A #6A1252 #6A1226
triadic
#6A1252 #526A12 #12526A
tetradic
#6A1252 #6A5612 #126A2A #12266A
square
#6A1252 #6A5612 #126A2A #12266A
split-complementary
#6A1252 #266A12 #126A56
monochromatic
#1A0414 #36092A #6A1252 #9E1B7A #D324A3

Accessibility & contrast

On white

11.53
#6A1252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#6A1252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1252
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1252#FFFFFF#000000##FFFFFF
##6A12521.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3054
Deuteranopia (green-blind)
#383E50
Tritanopia (blue-blind)
#711431
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a1252;
/* rgb */ color: rgb(106, 18, 82);
/* oklch */ color: oklch(36.3% 0.138 341.8);
Tailwind
colors: {
  custom: {
    50: '#985c82',
    500: '#6a1252',
    950: '#000000',
  },
}
SCSS
$custom: #6a1252;
$custom-light: #985c82;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1252",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 316.364,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3634,
    "c": 0.13825,
    "h": 341.8
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#6A1252
secondary
#36A254
accent
#EE6B3A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040A
muted
#7E797C

Preview Lab

Preview with #6A1252

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

Preview Lab → · Contrast checker → · Palette generator →

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