#7D1267#7D1267

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

Color values

HEX#7D1267
RGBrgb(125, 18, 103)
HSLhsl(312, 75%, 28%)
HSVhsv(312, 86%, 49%)
CMYKcmyk(0%, 85.6%, 17.6%, 51%)
CIE-LABlab(28.83, 51.32, -22.08)
CIE-LCHlch(28.83, 55.87, 336.72°)
OKLaboklab(40.84% 0.1526 -0.06)
OKLCHoklch(40.84% 0.164 338.5)
XYZxyz(11.1222, 5.7730, 13.3579)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1267 #127D28
analogous
#5D127D #7D1267 #7D1232
triadic
#7D1267 #677D12 #12677D
tetradic
#7D1267 #7D5D12 #127D28 #12327D
square
#7D1267 #7D5D12 #127D28 #12327D
split-complementary
#7D1267 #327D12 #127D5D
monochromatic
#1B0416 #480A3B #7D1267 #B21A93 #E029BB

Accessibility & contrast

On white

9.75
#7D1267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1267
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1267#FFFFFF#000000##FFFFFF
##7D12671.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A69
Deuteranopia (green-blind)
#3F4A65
Tritanopia (blue-blind)
#85193D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1267;
/* rgb */ color: rgb(125, 18, 103);
/* oklch */ color: oklch(40.8% 0.164 338.5);
Tailwind
colors: {
  custom: {
    50: '#a66092',
    500: '#7d1267',
    950: '#000000',
  },
}
SCSS
$custom: #7d1267;
$custom-light: #a66092;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1267",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 312.336,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.16395,
    "h": 338.5
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#7D1267
secondary
#38B351
accent
#F15D36
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7D1267

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

Preview Lab → · Contrast checker → · Palette generator →

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