#7B1865#7B1865

#7B1865 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.156 H 338.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7B1865
RGBrgb(123, 24, 101)
HSLhsl(313, 67%, 29%)
HSVhsv(313, 80%, 48%)
CMYKcmyk(0%, 80.5%, 17.9%, 51.8%)
CIE-LABlab(28.91, 48.91, -20.68)
CIE-LCHlch(28.91, 53.10, 337.08°)
OKLaboklab(40.79% 0.1454 -0.0561)
OKLCHoklch(40.79% 0.156 338.9)
XYZxyz(10.8443, 5.8049, 12.8587)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1865 #187B2E
analogous
#60187B #7B1865 #7B1834
triadic
#7B1865 #657B18 #18657B
tetradic
#7B1865 #7B6018 #187B2E #18347B
square
#7B1865 #7B6018 #187B2E #18347B
split-complementary
#7B1865 #347B18 #187B60
monochromatic
#1A0515 #480E3B #7B1865 #AE228F #D836B4

Accessibility & contrast

On white

9.72
#7B1865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B1865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1865
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1865#FFFFFF#000000##FFFFFF
##7B18651.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3A67
Deuteranopia (green-blind)
#404A63
Tritanopia (blue-blind)
#821D3D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1865;
/* rgb */ color: rgb(123, 24, 101);
/* oklch */ color: oklch(40.8% 0.156 338.9);
Tailwind
colors: {
  custom: {
    50: '#a56191',
    500: '#7b1865',
    950: '#000000',
  },
}
SCSS
$custom: #7b1865;
$custom-light: #a56191;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1865",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 313.333,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40791,
    "c": 0.15587,
    "h": 338.9
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#7B1865
secondary
#3FB058
accent
#EA643E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B1865

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

Preview Lab → · Contrast checker → · Palette generator →

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