#7D1266#7D1266

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

Color values

HEX#7D1266
RGBrgb(125, 18, 102)
HSLhsl(313, 75%, 28%)
HSVhsv(313, 86%, 49%)
CMYKcmyk(0%, 85.6%, 18.4%, 51%)
CIE-LABlab(28.78, 51.18, -21.51)
CIE-LCHlch(28.78, 55.51, 337.20°)
OKLaboklab(40.78% 0.1525 -0.0583)
OKLCHoklch(40.78% 0.163 339.1)
XYZxyz(11.0723, 5.7530, 13.0951)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1266 #127D29
analogous
#5E127D #7D1266 #7D1231
triadic
#7D1266 #667D12 #12667D
tetradic
#7D1266 #7D5E12 #127D29 #12317D
square
#7D1266 #7D5E12 #127D29 #12317D
split-complementary
#7D1266 #317D12 #127D5E
monochromatic
#1B0416 #480A3A #7D1266 #B21A92 #E029B9

Accessibility & contrast

On white

9.77
#7D1266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1266
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1266#FFFFFF#000000##FFFFFF
##7D12661.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3968
Deuteranopia (green-blind)
#3F4A64
Tritanopia (blue-blind)
#85183C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1266;
/* rgb */ color: rgb(125, 18, 102);
/* oklch */ color: oklch(40.8% 0.163 339.1);
Tailwind
colors: {
  custom: {
    50: '#a66092',
    500: '#7d1266',
    950: '#000000',
  },
}
SCSS
$custom: #7d1266;
$custom-light: #a66092;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1266",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 312.897,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.16328,
    "h": 339.1
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#7D1266
secondary
#38B352
accent
#F15F36
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7D1266

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

Preview Lab → · Contrast checker → · Palette generator →

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