#7B1567#7B1567

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

Color values

HEX#7B1567
RGBrgb(123, 21, 103)
HSLhsl(312, 71%, 28%)
HSVhsv(312, 83%, 48%)
CMYKcmyk(0%, 82.9%, 16.3%, 51.8%)
CIE-LABlab(28.71, 50.07, -22.29)
CIE-LCHlch(28.71, 54.81, 336.00°)
OKLaboklab(40.68% 0.1483 -0.0606)
OKLCHoklch(40.68% 0.16 337.8)
XYZxyz(10.8850, 5.7276, 13.3616)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1567 #157B29
analogous
#5C157B #7B1567 #7B1534
triadic
#7B1567 #677B15 #15677B
tetradic
#7B1567 #7B5C15 #157B29 #15347B
square
#7B1567 #7B5C15 #157B29 #15347B
split-complementary
#7B1567 #347B15 #157B5C
monochromatic
#1A0416 #470C3B #7B1567 #AF1E93 #DB2FBA

Accessibility & contrast

On white

9.79
#7B1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1567
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1567#FFFFFF#000000##FFFFFF
##7B15671.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A69
Deuteranopia (green-blind)
#3E4965
Tritanopia (blue-blind)
#821C3D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1567;
/* rgb */ color: rgb(123, 21, 103);
/* oklch */ color: oklch(40.7% 0.160 337.8);
Tailwind
colors: {
  custom: {
    50: '#a56092',
    500: '#7b1567',
    950: '#000000',
  },
}
SCSS
$custom: #7b1567;
$custom-light: #a56092;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1567",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 311.765,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.1602,
    "h": 337.8
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#7B1567
secondary
#3BB052
accent
#EE5D3A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7B1567

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

Preview Lab → · Contrast checker → · Palette generator →

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