#7C1852#7C1852

#7C1852 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.145 H 350.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7C1852
RGBrgb(124, 24, 82)
HSLhsl(325, 68%, 29%)
HSVhsv(325, 81%, 49%)
CMYKcmyk(0%, 80.6%, 33.9%, 51.4%)
CIE-LABlab(28.24, 46.61, -9.25)
CIE-LCHlch(28.24, 47.51, 348.77°)
OKLaboklab(40.06% 0.1427 -0.0241)
OKLCHoklch(40.06% 0.145 350.4)
XYZxyz(10.1624, 5.5488, 8.5169)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1852 #187C42
analogous
#74187C #7C1852 #7C1820
triadic
#7C1852 #527C18 #18527C
tetradic
#7C1852 #7C7418 #187C42 #18207C
square
#7C1852 #7C7418 #187C42 #18207C
split-complementary
#7C1852 #207C18 #187C74
monochromatic
#1A0511 #490E30 #7C1852 #AF2274 #D83694

Accessibility & contrast

On white

9.95
#7C1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7C1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1852
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1852#FFFFFF#000000##FFFFFF
##7C18521.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3753
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#861033
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1852;
/* rgb */ color: rgb(124, 24, 82);
/* oklch */ color: oklch(40.1% 0.145 350.4);
Tailwind
colors: {
  custom: {
    50: '#a66182',
    500: '#7c1852',
    950: '#000000',
  },
}
SCSS
$custom: #7c1852;
$custom-light: #a66182;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1852",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 325.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40059,
    "c": 0.14476,
    "h": 350.4
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#7C1852
secondary
#3FB16F
accent
#EA863D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C1852

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

Preview Lab → · Contrast checker → · Palette generator →

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