#6A1255#6A1255

#6A1255 is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.5% C 0.140 H 339.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#6A1255
RGBrgb(106, 18, 85)
HSLhsl(314, 71%, 24%)
HSVhsv(314, 83%, 42%)
CMYKcmyk(0%, 83%, 19.8%, 58.4%)
CIE-LABlab(24.17, 44.12, -17.80)
CIE-LCHlch(24.17, 47.58, 338.03°)
OKLaboklab(36.5% 0.1318 -0.0481)
OKLCHoklch(36.5% 0.14 339.9)
XYZxyz(7.8001, 4.1535, 8.9835)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1255 #126A27
analogous
#53126A #6A1255 #6A1229
triadic
#6A1255 #556A12 #12556A
tetradic
#6A1255 #6A5312 #126A27 #12296A
square
#6A1255 #6A5312 #126A27 #12296A
split-complementary
#6A1255 #296A12 #126A53
monochromatic
#1A0415 #36092B #6A1255 #9E1B7F #D324A9

Accessibility & contrast

On white

11.47
#6A1255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#6A1255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1255
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1255#FFFFFF#000000##FFFFFF
##6A12551.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193157
Deuteranopia (green-blind)
#363E53
Tritanopia (blue-blind)
#711532
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a1255;
/* rgb */ color: rgb(106, 18, 85);
/* oklch */ color: oklch(36.5% 0.140 339.9);
Tailwind
colors: {
  custom: {
    50: '#985c85',
    500: '#6a1255',
    950: '#000000',
  },
}
SCSS
$custom: #6a1255;
$custom-light: #985c85;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1255",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 314.318,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36498,
    "c": 0.14031,
    "h": 339.9
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#6A1255
secondary
#36A250
accent
#EE653A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A1255

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

Preview Lab → · Contrast checker → · Palette generator →

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