#7C1865#7C1865

#7C1865 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.156 H 339.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7C1865
RGBrgb(124, 24, 101)
HSLhsl(314, 68%, 29%)
HSVhsv(314, 81%, 49%)
CMYKcmyk(0%, 80.6%, 18.5%, 51.4%)
CIE-LABlab(29.11, 49.16, -20.37)
CIE-LCHlch(29.11, 53.21, 337.49°)
OKLaboklab(40.96% 0.1464 -0.0552)
OKLCHoklch(40.96% 0.156 339.4)
XYZxyz(10.9881, 5.8790, 12.8655)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1865 #187C2F
analogous
#61187C #7C1865 #7C1833
triadic
#7C1865 #657C18 #18657C
tetradic
#7C1865 #7C6118 #187C2F #18337C
square
#7C1865 #7C6118 #187C2F #18337C
split-complementary
#7C1865 #337C18 #187C61
monochromatic
#1A0515 #490E3B #7C1865 #AF228F #D836B3

Accessibility & contrast

On white

9.65
#7C1865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7C1865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1865
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1865#FFFFFF#000000##FFFFFF
##7C18651.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B67
Deuteranopia (green-blind)
#414A63
Tritanopia (blue-blind)
#841C3D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1865;
/* rgb */ color: rgb(124, 24, 101);
/* oklch */ color: oklch(41.0% 0.156 339.4);
Tailwind
colors: {
  custom: {
    50: '#a56291',
    500: '#7c1865',
    950: '#000000',
  },
}
SCSS
$custom: #7c1865;
$custom-light: #a56291;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1865",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 313.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40964,
    "c": 0.15648,
    "h": 339.4
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#7C1865
secondary
#3FB159
accent
#EA653D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C1865

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

Preview Lab → · Contrast checker → · Palette generator →

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