#7C1269#7C1269

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

Color values

HEX#7C1269
RGBrgb(124, 18, 105)
HSLhsl(311, 75%, 28%)
HSVhsv(311, 85%, 49%)
CMYKcmyk(0%, 85.5%, 15.3%, 51.4%)
CIE-LABlab(28.74, 51.38, -23.53)
CIE-LCHlch(28.74, 56.51, 335.40°)
OKLaboklab(40.77% 0.1518 -0.0641)
OKLCHoklch(40.77% 0.165 337.1)
XYZxyz(11.0785, 5.7387, 13.8861)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1269 #127C25
analogous
#5A127C #7C1269 #7C1234
triadic
#7C1269 #697C12 #12697C
tetradic
#7C1269 #7C5A12 #127C25 #12347C
square
#7C1269 #7C5A12 #127C25 #12347C
split-complementary
#7C1269 #347C12 #127C5A
monochromatic
#1B0417 #470A3C #7C1269 #B11A96 #E029BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1269#FFFFFF#000000##FFFFFF
##7C12691.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)
#163A6B
Deuteranopia (green-blind)
#3D4967
Tritanopia (blue-blind)
#831B3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1269;
/* rgb */ color: rgb(124, 18, 105);
/* oklch */ color: oklch(40.8% 0.165 337.1);
Tailwind
colors: {
  custom: {
    50: '#a66094',
    500: '#7c1269',
    950: '#000000',
  },
}
SCSS
$custom: #7c1269;
$custom-light: #a66094;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1269",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 310.755,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.16477,
    "h": 337.1
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#7C1269
secondary
#38B24E
accent
#F15837
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C1269

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

Preview Lab → · Contrast checker → · Palette generator →

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