#7C1857#7C1857

#7C1857 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.148 H 347.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7C1857
RGBrgb(124, 24, 87)
HSLhsl(322, 68%, 29%)
HSVhsv(322, 81%, 49%)
CMYKcmyk(0%, 80.6%, 29.8%, 51.4%)
CIE-LABlab(28.45, 47.23, -12.24)
CIE-LCHlch(28.45, 48.79, 345.48°)
OKLaboklab(40.28% 0.144 -0.0323)
OKLCHoklch(40.28% 0.148 347.4)
XYZxyz(10.3596, 5.6277, 9.5557)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1857 #187C3D
analogous
#6F187C #7C1857 #7C1825
triadic
#7C1857 #577C18 #18577C
tetradic
#7C1857 #7C6F18 #187C3D #18257C
square
#7C1857 #7C6F18 #187C3D #18257C
split-complementary
#7C1857 #257C18 #187C6F
monochromatic
#1A0512 #490E33 #7C1857 #AF227B #D8369C

Accessibility & contrast

On white

9.88
#7C1857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C1857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1857
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1857#FFFFFF#000000##FFFFFF
##7C18571.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283859
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#851435
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1857;
/* rgb */ color: rgb(124, 24, 87);
/* oklch */ color: oklch(40.3% 0.148 347.4);
Tailwind
colors: {
  custom: {
    50: '#a66186',
    500: '#7c1857',
    950: '#000000',
  },
}
SCSS
$custom: #7c1857;
$custom-light: #a66186;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1857",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 322.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40279,
    "c": 0.14755,
    "h": 347.4
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#7C1857
secondary
#3FB169
accent
#EA7D3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C1857

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

Preview Lab → · Contrast checker → · Palette generator →

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