#7A1567#7A1567

#7A1567 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.160 H 337.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7A1567
RGBrgb(122, 21, 103)
HSLhsl(311, 71%, 28%)
HSVhsv(311, 83%, 48%)
CMYKcmyk(0%, 82.8%, 15.6%, 52.2%)
CIE-LABlab(28.52, 49.84, -22.61)
CIE-LCHlch(28.52, 54.73, 335.60°)
OKLaboklab(40.51% 0.1473 -0.0615)
OKLCHoklch(40.51% 0.16 337.3)
XYZxyz(10.7426, 5.6542, 13.3549)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1567 #157A28
analogous
#5A157A #7A1567 #7A1534
triadic
#7A1567 #677A15 #15677A
tetradic
#7A1567 #7A5A15 #157A28 #15347A
square
#7A1567 #7A5A15 #157A28 #15347A
split-complementary
#7A1567 #347A15 #157A5A
monochromatic
#1A0416 #460C3B #7A1567 #AE1E93 #DB2EBB

Accessibility & contrast

On white

9.86
#7A1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7A1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1567
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1567#FFFFFF#000000##FFFFFF
##7A15671.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A69
Deuteranopia (green-blind)
#3D4965
Tritanopia (blue-blind)
#811C3D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1567;
/* rgb */ color: rgb(122, 21, 103);
/* oklch */ color: oklch(40.5% 0.160 337.3);
Tailwind
colors: {
  custom: {
    50: '#a46092',
    500: '#7a1567',
    950: '#000000',
  },
}
SCSS
$custom: #7a1567;
$custom-light: #a46092;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1567",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 311.287,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40508,
    "c": 0.15962,
    "h": 337.3
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#7A1567
secondary
#3BAF51
accent
#ED5C3A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A1567

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

Preview Lab → · Contrast checker → · Palette generator →

#7A1567 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva