#6A145B#6A145B

#6A145B is a dark, vivid pink. Relative luminance 0.043; OKLCH L 37.0% C 0.143 H 336.4°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#6A145B
RGBrgb(106, 20, 91)
HSLhsl(310, 68%, 25%)
HSVhsv(310, 81%, 42%)
CMYKcmyk(0%, 81.1%, 14.2%, 58.4%)
CIE-LABlab(24.70, 44.42, -20.96)
CIE-LCHlch(24.70, 49.12, 334.74°)
OKLaboklab(36.98% 0.1306 -0.0572)
OKLCHoklch(36.98% 0.143 336.4)
XYZxyz(8.0825, 4.3206, 10.3038)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A145B #146A23
analogous
#4E146A #6A145B #6A1430
triadic
#6A145B #5B6A14 #145B6A
tetradic
#6A145B #6A4E14 #146A23 #14306A
square
#6A145B #6A4E14 #146A23 #14306A
split-complementary
#6A145B #306A14 #146A4E
monochromatic
#1A0516 #370A2F #6A145B #9D1E87 #D127B3

Accessibility & contrast

On white

11.27
#6A145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#6A145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A145B
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A145B#FFFFFF#000000##FFFFFF
##6A145B1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325D
Deuteranopia (green-blind)
#353F59
Tritanopia (blue-blind)
#701B36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a145b;
/* rgb */ color: rgb(106, 20, 91);
/* oklch */ color: oklch(37.0% 0.143 336.4);
Tailwind
colors: {
  custom: {
    50: '#985d89',
    500: '#6a145b',
    950: '#000000',
  },
}
SCSS
$custom: #6a145b;
$custom-light: #985d89;
$custom-dark: #000000;
JSON
{
  "hex": "#6a145b",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 310.465,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36983,
    "c": 0.14255,
    "h": 336.4
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#6A145B
secondary
#39A14B
accent
#EB5B3D
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6A145B

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

Preview Lab → · Contrast checker → · Palette generator →

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