#6A0F54#6A0F54

#6A0F54 is a dark, vivid pink. Relative luminance 0.040; OKLCH L 36.2% C 0.142 H 340.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#6A0F54
RGBrgb(106, 15, 84)
HSLhsl(315, 75%, 24%)
HSVhsv(315, 86%, 42%)
CMYKcmyk(0%, 85.8%, 20.8%, 58.4%)
CIE-LABlab(23.83, 44.83, -17.68)
CIE-LCHlch(23.83, 48.19, 338.48°)
OKLaboklab(36.23% 0.1343 -0.0478)
OKLCHoklch(36.23% 0.142 340.4)
XYZxyz(7.7152, 4.0467, 8.7606)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F54 #0F6A25
analogous
#520F6A #6A0F54 #6A0F26
triadic
#6A0F54 #546A0F #0F546A
tetradic
#6A0F54 #6A520F #0F6A25 #0F266A
square
#6A0F54 #6A520F #0F6A25 #0F266A
split-complementary
#6A0F54 #266A0F #0F6A52
monochromatic
#1B0415 #34072A #6A0F54 #A0177E #D51EA9

Accessibility & contrast

On white

11.61
#6A0F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#6A0F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0F54
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F54#FFFFFF#000000##FFFFFF
##6A0F541.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173056
Deuteranopia (green-blind)
#363E52
Tritanopia (blue-blind)
#711231
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a0f54;
/* rgb */ color: rgb(106, 15, 84);
/* oklch */ color: oklch(36.2% 0.142 340.4);
Tailwind
colors: {
  custom: {
    50: '#985b84',
    500: '#6a0f54',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f54;
$custom-light: #985b84;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f54",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 314.505,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.14249,
    "h": 340.4
  },
  "luminance": 0.04046
}

Semantic roles & 50–950 ramp

primary
#6A0F54
secondary
#32A24D
accent
#F26336
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A0F54

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

Preview Lab → · Contrast checker → · Palette generator →

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