#7D1857#7D1857

#7D1857 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.148 H 347.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7D1857
RGBrgb(125, 24, 87)
HSLhsl(323, 68%, 29%)
HSVhsv(323, 81%, 49%)
CMYKcmyk(0%, 80.8%, 30.4%, 51%)
CIE-LABlab(28.65, 47.50, -11.92)
CIE-LCHlch(28.65, 48.97, 345.91°)
OKLaboklab(40.46% 0.1449 -0.0314)
OKLCHoklch(40.46% 0.148 347.8)
XYZxyz(10.5049, 5.7026, 9.5625)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1857 #187D3E
analogous
#71187D #7D1857 #7D1825
triadic
#7D1857 #577D18 #18577D
tetradic
#7D1857 #7D7118 #187D3E #18257D
square
#7D1857 #7D7118 #187D3E #18257D
split-complementary
#7D1857 #257D18 #187D71
monochromatic
#1A0512 #4A0E33 #7D1857 #B0227B #D9379C

Accessibility & contrast

On white

9.81
#7D1857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1857
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1857#FFFFFF#000000##FFFFFF
##7D18571.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283859
Deuteranopia (green-blind)
#464A55
Tritanopia (blue-blind)
#861336
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1857;
/* rgb */ color: rgb(125, 24, 87);
/* oklch */ color: oklch(40.5% 0.148 347.8);
Tailwind
colors: {
  custom: {
    50: '#a76186',
    500: '#7d1857',
    950: '#000000',
  },
}
SCSS
$custom: #7d1857;
$custom-light: #a76186;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1857",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 322.574,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40458,
    "c": 0.14827,
    "h": 347.8
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#7D1857
secondary
#3FB26A
accent
#EB7E3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D1857

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

Preview Lab → · Contrast checker → · Palette generator →

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