#7C1862#7C1862

#7C1862 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.154 H 341.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7C1862
RGBrgb(124, 24, 98)
HSLhsl(316, 68%, 29%)
HSVhsv(316, 81%, 49%)
CMYKcmyk(0%, 80.6%, 21%, 51.4%)
CIE-LABlab(28.96, 48.72, -18.66)
CIE-LCHlch(28.96, 52.17, 339.05°)
OKLaboklab(40.81% 0.146 -0.0503)
OKLCHoklch(40.81% 0.154 341)
XYZxyz(10.8438, 5.8213, 12.1055)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1862 #187C32
analogous
#64187C #7C1862 #7C1830
triadic
#7C1862 #627C18 #18627C
tetradic
#7C1862 #7C6418 #187C32 #18307C
square
#7C1862 #7C6418 #187C32 #18307C
split-complementary
#7C1862 #307C18 #187C64
monochromatic
#1A0514 #490E39 #7C1862 #AF228B #D836AE

Accessibility & contrast

On white

9.70
#7C1862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C1862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1862
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1862#FFFFFF#000000##FFFFFF
##7C18621.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A64
Deuteranopia (green-blind)
#424A60
Tritanopia (blue-blind)
#841B3B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1862;
/* rgb */ color: rgb(124, 24, 98);
/* oklch */ color: oklch(40.8% 0.154 341.0);
Tailwind
colors: {
  custom: {
    50: '#a6618f',
    500: '#7c1862',
    950: '#000000',
  },
}
SCSS
$custom: #7c1862;
$custom-light: #a6618f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1862",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 315.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.15445,
    "h": 341
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#7C1862
secondary
#3FB15D
accent
#EA6A3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C1862

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

Preview Lab → · Contrast checker → · Palette generator →

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