#6A1254#6A1254

#6A1254 is a dark, vivid pink. Relative luminance 0.041; OKLCH L 36.4% C 0.140 H 340.6°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#6A1254
RGBrgb(106, 18, 84)
HSLhsl(315, 71%, 24%)
HSVhsv(315, 83%, 42%)
CMYKcmyk(0%, 83%, 20.8%, 58.4%)
CIE-LABlab(24.12, 43.98, -17.22)
CIE-LCHlch(24.12, 47.23, 338.62°)
OKLaboklab(36.45% 0.1317 -0.0465)
OKLCHoklch(36.45% 0.14 340.6)
XYZxyz(7.7606, 4.1377, 8.7757)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1254 #126A28
analogous
#54126A #6A1254 #6A1228
triadic
#6A1254 #546A12 #12546A
tetradic
#6A1254 #6A5412 #126A28 #12286A
square
#6A1254 #6A5412 #126A28 #12286A
split-complementary
#6A1254 #286A12 #126A54
monochromatic
#1A0415 #36092B #6A1254 #9E1B7D #D324A7

Accessibility & contrast

On white

11.49
#6A1254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1254
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1254#FFFFFF#000000##FFFFFF
##6A12541.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3056
Deuteranopia (green-blind)
#373E52
Tritanopia (blue-blind)
#711532
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a1254;
/* rgb */ color: rgb(106, 18, 84);
/* oklch */ color: oklch(36.4% 0.140 340.6);
Tailwind
colors: {
  custom: {
    50: '#985c84',
    500: '#6a1254',
    950: '#000000',
  },
}
SCSS
$custom: #6a1254;
$custom-light: #985c84;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1254",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 315,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36445,
    "c": 0.13961,
    "h": 340.6
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#6A1254
secondary
#36A251
accent
#EE673A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A1254

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

Preview Lab → · Contrast checker → · Palette generator →

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