#7D1264#7D1264

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

Color values

HEX#7D1264
RGBrgb(125, 18, 100)
HSLhsl(314, 75%, 28%)
HSVhsv(314, 86%, 49%)
CMYKcmyk(0%, 85.6%, 20%, 51%)
CIE-LABlab(28.68, 50.89, -20.38)
CIE-LCHlch(28.68, 54.82, 338.18°)
OKLaboklab(40.68% 0.1523 -0.0551)
OKLCHoklch(40.68% 0.162 340.1)
XYZxyz(10.9743, 5.7138, 12.5790)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1264 #127D2B
analogous
#60127D #7D1264 #7D122E
triadic
#7D1264 #647D12 #12647D
tetradic
#7D1264 #7D6012 #127D2B #122E7D
square
#7D1264 #7D6012 #127D2B #122E7D
split-complementary
#7D1264 #2E7D12 #127D60
monochromatic
#1B0415 #480A39 #7D1264 #B21A8F #E029B5

Accessibility & contrast

On white

9.80
#7D1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1264
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1264#FFFFFF#000000##FFFFFF
##7D12641.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3966
Deuteranopia (green-blind)
#404A62
Tritanopia (blue-blind)
#85173B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1264;
/* rgb */ color: rgb(125, 18, 100);
/* oklch */ color: oklch(40.7% 0.162 340.1);
Tailwind
colors: {
  custom: {
    50: '#a66090',
    500: '#7d1264',
    950: '#000000',
  },
}
SCSS
$custom: #7d1264;
$custom-light: #a66090;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1264",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 314.019,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40677,
    "c": 0.16195,
    "h": 340.1
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#7D1264
secondary
#38B355
accent
#F16236
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D1264

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

Preview Lab → · Contrast checker → · Palette generator →

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