#7C1848#7C1848

#7C1848 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.140 H 356.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7C1848
RGBrgb(124, 24, 72)
HSLhsl(331, 68%, 29%)
HSVhsv(331, 81%, 49%)
CMYKcmyk(0%, 80.6%, 41.9%, 51.4%)
CIE-LABlab(27.87, 45.46, -3.16)
CIE-LCHlch(27.87, 45.57, 356.02°)
OKLaboklab(39.66% 0.1398 -0.0077)
OKLCHoklch(39.66% 0.14 356.8)
XYZxyz(9.8092, 5.4075, 6.6568)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1848 #187C4C
analogous
#7C187A #7C1848 #7C1A18
triadic
#7C1848 #487C18 #18487C
tetradic
#7C1848 #7A7C18 #187C4C #1A187C
square
#7C1848 #7A7C18 #187C4C #1A187C
split-complementary
#7C1848 #187C1A #187A7C
monochromatic
#1A050F #490E2A #7C1848 #AF2266 #D83684

Accessibility & contrast

On white

10.09
#7C1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7C1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1848
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1848#FFFFFF#000000##FFFFFF
##7C18481.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3649
Deuteranopia (green-blind)
#494846
Tritanopia (blue-blind)
#87072E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1848;
/* rgb */ color: rgb(124, 24, 72);
/* oklch */ color: oklch(39.7% 0.140 356.8);
Tailwind
colors: {
  custom: {
    50: '#a6607a',
    500: '#7c1848',
    950: '#000000',
  },
}
SCSS
$custom: #7c1848;
$custom-light: #a6607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1848",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 331.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39659,
    "c": 0.13998,
    "h": 356.8
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#7C1848
secondary
#3FB17A
accent
#EA973D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1848

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

Preview Lab → · Contrast checker → · Palette generator →

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