#7D1268#7D1268

#7D1268 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.165 H 338.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7D1268
RGBrgb(125, 18, 104)
HSLhsl(312, 75%, 28%)
HSVhsv(312, 86%, 49%)
CMYKcmyk(0%, 85.6%, 16.8%, 51%)
CIE-LABlab(28.88, 51.46, -22.65)
CIE-LCHlch(28.88, 56.22, 336.25°)
OKLaboklab(40.89% 0.1527 -0.0616)
OKLCHoklch(40.89% 0.165 338)
XYZxyz(11.1727, 5.7932, 13.6238)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1268 #127D27
analogous
#5C127D #7D1268 #7D1232
triadic
#7D1268 #687D12 #12687D
tetradic
#7D1268 #7D5C12 #127D27 #12327D
square
#7D1268 #7D5C12 #127D27 #12327D
split-complementary
#7D1268 #327D12 #127D5C
monochromatic
#1B0416 #480A3B #7D1268 #B21A95 #E029BC

Accessibility & contrast

On white

9.73
#7D1268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1268
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1268#FFFFFF#000000##FFFFFF
##7D12681.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183A6A
Deuteranopia (green-blind)
#3F4A66
Tritanopia (blue-blind)
#84193D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1268;
/* rgb */ color: rgb(125, 18, 104);
/* oklch */ color: oklch(40.9% 0.165 338.0);
Tailwind
colors: {
  custom: {
    50: '#a66093',
    500: '#7d1268',
    950: '#000000',
  },
}
SCSS
$custom: #7d1268;
$custom-light: #a66093;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1268",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 311.776,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.16463,
    "h": 338
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#7D1268
secondary
#38B350
accent
#F15B36
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7D1268

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

Preview Lab → · Contrast checker → · Palette generator →

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