#7D1263#7D1263

#7D1263 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.161 H 340.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7D1263
RGBrgb(125, 18, 99)
HSLhsl(315, 75%, 28%)
HSVhsv(315, 86%, 49%)
CMYKcmyk(0%, 85.6%, 20.8%, 51%)
CIE-LABlab(28.63, 50.75, -19.80)
CIE-LCHlch(28.63, 54.48, 338.68°)
OKLaboklab(40.62% 0.1522 -0.0535)
OKLCHoklch(40.62% 0.161 340.6)
XYZxyz(10.9262, 5.6946, 12.3257)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1263 #127D2C
analogous
#61127D #7D1263 #7D122E
triadic
#7D1263 #637D12 #12637D
tetradic
#7D1263 #7D6112 #127D2C #122E7D
square
#7D1263 #7D6112 #127D2C #122E7D
split-complementary
#7D1263 #2E7D12 #127D61
monochromatic
#1B0415 #480A39 #7D1263 #B21A8D #E029B4

Accessibility & contrast

On white

9.82
#7D1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1263
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1263#FFFFFF#000000##FFFFFF
##7D12631.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3965
Deuteranopia (green-blind)
#414961
Tritanopia (blue-blind)
#85163B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1263;
/* rgb */ color: rgb(125, 18, 99);
/* oklch */ color: oklch(40.6% 0.161 340.6);
Tailwind
colors: {
  custom: {
    50: '#a6608f',
    500: '#7d1263',
    950: '#000000',
  },
}
SCSS
$custom: #7d1263;
$custom-light: #a6608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1263",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 314.579,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40624,
    "c": 0.16128,
    "h": 340.6
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#7D1263
secondary
#38B356
accent
#F16436
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D1263

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

Preview Lab → · Contrast checker → · Palette generator →

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