#7C1266#7C1266

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

Color values

HEX#7C1266
RGBrgb(124, 18, 102)
HSLhsl(312, 75%, 28%)
HSVhsv(312, 85%, 49%)
CMYKcmyk(0%, 85.5%, 17.7%, 51.4%)
CIE-LABlab(28.59, 50.94, -21.83)
CIE-LCHlch(28.59, 55.43, 336.80°)
OKLaboklab(40.61% 0.1515 -0.0593)
OKLCHoklch(40.61% 0.163 338.6)
XYZxyz(10.9271, 5.6781, 13.0883)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1266 #127C28
analogous
#5D127C #7C1266 #7C1231
triadic
#7C1266 #667C12 #12667C
tetradic
#7C1266 #7C5D12 #127C28 #12317C
square
#7C1266 #7C5D12 #127C28 #12317C
split-complementary
#7C1266 #317C12 #127C5D
monochromatic
#1B0416 #470A3A #7C1266 #B11A92 #E029BA

Accessibility & contrast

On white

9.83
#7C1266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1266
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1266#FFFFFF#000000##FFFFFF
##7C12661.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#3F4964
Tritanopia (blue-blind)
#83193C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1266;
/* rgb */ color: rgb(124, 18, 102);
/* oklch */ color: oklch(40.6% 0.163 338.6);
Tailwind
colors: {
  custom: {
    50: '#a66092',
    500: '#7c1266',
    950: '#000000',
  },
}
SCSS
$custom: #7c1266;
$custom-light: #a66092;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1266",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 312.453,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.16271,
    "h": 338.6
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#7C1266
secondary
#38B251
accent
#F15D37
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7C1266

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

Preview Lab → · Contrast checker → · Palette generator →

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