#7C1263#7C1263

#7C1263 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.161 H 340.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7C1263
RGBrgb(124, 18, 99)
HSLhsl(314, 75%, 28%)
HSVhsv(314, 85%, 49%)
CMYKcmyk(0%, 85.5%, 20.2%, 51.4%)
CIE-LABlab(28.43, 50.52, -20.12)
CIE-LCHlch(28.43, 54.38, 338.28°)
OKLaboklab(40.45% 0.1512 -0.0544)
OKLCHoklch(40.45% 0.161 340.2)
XYZxyz(10.7810, 5.6197, 12.3189)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1263 #127C2B
analogous
#60127C #7C1263 #7C122E
triadic
#7C1263 #637C12 #12637C
tetradic
#7C1263 #7C6012 #127C2B #122E7C
square
#7C1263 #7C6012 #127C2B #122E7C
split-complementary
#7C1263 #2E7C12 #127C60
monochromatic
#1B0415 #470A38 #7C1263 #B11A8E #E029B5

Accessibility & contrast

On white

9.89
#7C1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7C1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1263
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1263#FFFFFF#000000##FFFFFF
##7C12631.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3865
Deuteranopia (green-blind)
#404961
Tritanopia (blue-blind)
#84163B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1263;
/* rgb */ color: rgb(124, 18, 99);
/* oklch */ color: oklch(40.4% 0.161 340.2);
Tailwind
colors: {
  custom: {
    50: '#a65f8f',
    500: '#7c1263',
    950: '#000000',
  },
}
SCSS
$custom: #7c1263;
$custom-light: #a65f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1263",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 314.151,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.1607,
    "h": 340.2
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#7C1263
secondary
#38B255
accent
#F16337
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C1263

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

Preview Lab → · Contrast checker → · Palette generator →

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