#6A1257#6A1257

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

Color values

HEX#6A1257
RGBrgb(106, 18, 87)
HSLhsl(313, 71%, 24%)
HSVhsv(313, 83%, 42%)
CMYKcmyk(0%, 83%, 17.9%, 58.4%)
CIE-LABlab(24.28, 44.42, -18.98)
CIE-LCHlch(24.28, 48.31, 336.87°)
OKLaboklab(36.61% 0.132 -0.0515)
OKLCHoklch(36.61% 0.142 338.7)
XYZxyz(7.8807, 4.1857, 9.4079)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1257 #126A25
analogous
#51126A #6A1257 #6A122B
triadic
#6A1257 #576A12 #12576A
tetradic
#6A1257 #6A5112 #126A25 #122B6A
square
#6A1257 #6A5112 #126A25 #122B6A
split-complementary
#6A1257 #2B6A12 #126A51
monochromatic
#1A0415 #36092C #6A1257 #9E1B82 #D324AD

Accessibility & contrast

On white

11.43
#6A1257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1257
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1257#FFFFFF#000000##FFFFFF
##6A12571.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173159
Deuteranopia (green-blind)
#363F55
Tritanopia (blue-blind)
#701734
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a1257;
/* rgb */ color: rgb(106, 18, 87);
/* oklch */ color: oklch(36.6% 0.142 338.7);
Tailwind
colors: {
  custom: {
    50: '#985c86',
    500: '#6a1257',
    950: '#000000',
  },
}
SCSS
$custom: #6a1257;
$custom-light: #985c86;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1257",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 312.955,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36606,
    "c": 0.14171,
    "h": 338.7
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#6A1257
secondary
#36A24D
accent
#EE613A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A1257

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

Preview Lab → · Contrast checker → · Palette generator →

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