#7D1265#7D1265

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

Color values

HEX#7D1265
RGBrgb(125, 18, 101)
HSLhsl(313, 75%, 28%)
HSVhsv(313, 86%, 49%)
CMYKcmyk(0%, 85.6%, 19.2%, 51%)
CIE-LABlab(28.73, 51.03, -20.95)
CIE-LCHlch(28.73, 55.16, 337.69°)
OKLaboklab(40.73% 0.1524 -0.0567)
OKLCHoklch(40.73% 0.163 339.6)
XYZxyz(11.0230, 5.7333, 12.8355)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1265 #127D2A
analogous
#5F127D #7D1265 #7D122F
triadic
#7D1265 #657D12 #12657D
tetradic
#7D1265 #7D5F12 #127D2A #122F7D
square
#7D1265 #7D5F12 #127D2A #122F7D
split-complementary
#7D1265 #2F7D12 #127D5F
monochromatic
#1B0416 #480A3A #7D1265 #B21A90 #E029B7

Accessibility & contrast

On white

9.78
#7D1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1265
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1265#FFFFFF#000000##FFFFFF
##7D12651.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3967
Deuteranopia (green-blind)
#404A63
Tritanopia (blue-blind)
#85173C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1265;
/* rgb */ color: rgb(125, 18, 101);
/* oklch */ color: oklch(40.7% 0.163 339.6);
Tailwind
colors: {
  custom: {
    50: '#a66091',
    500: '#7d1265',
    950: '#000000',
  },
}
SCSS
$custom: #7d1265;
$custom-light: #a66091;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1265",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 313.458,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40729,
    "c": 0.16261,
    "h": 339.6
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#7D1265
secondary
#38B353
accent
#F16036
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D1265

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

Preview Lab → · Contrast checker → · Palette generator →

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