#6A1258#6A1258

#6A1258 is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.7% C 0.142 H 338.1°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#6A1258
RGBrgb(106, 18, 88)
HSLhsl(312, 71%, 24%)
HSVhsv(312, 83%, 42%)
CMYKcmyk(0%, 83%, 17%, 58.4%)
CIE-LABlab(24.33, 44.58, -19.56)
CIE-LCHlch(24.33, 48.68, 336.31°)
OKLaboklab(36.66% 0.1321 -0.0531)
OKLCHoklch(36.66% 0.142 338.1)
XYZxyz(7.9218, 4.2021, 9.6245)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1258 #126A24
analogous
#50126A #6A1258 #6A122C
triadic
#6A1258 #586A12 #12586A
tetradic
#6A1258 #6A5012 #126A24 #122C6A
square
#6A1258 #6A5012 #126A24 #122C6A
split-complementary
#6A1258 #2C6A12 #126A50
monochromatic
#1A0416 #36092D #6A1258 #9E1B83 #D324AF

Accessibility & contrast

On white

11.41
#6A1258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#6A1258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1258
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1258#FFFFFF#000000##FFFFFF
##6A12581.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17315A
Deuteranopia (green-blind)
#353F56
Tritanopia (blue-blind)
#701734
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a1258;
/* rgb */ color: rgb(106, 18, 88);
/* oklch */ color: oklch(36.7% 0.142 338.1);
Tailwind
colors: {
  custom: {
    50: '#985c87',
    500: '#6a1258',
    950: '#000000',
  },
}
SCSS
$custom: #6a1258;
$custom-light: #985c87;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1258",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 312.273,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36661,
    "c": 0.14242,
    "h": 338.1
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#6A1258
secondary
#36A24C
accent
#EE5F3A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A1258

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

Preview Lab → · Contrast checker → · Palette generator →

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