#7D1867#7D1867

#7D1867 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.158 H 338.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7D1867
RGBrgb(125, 24, 103)
HSLhsl(313, 68%, 29%)
HSVhsv(313, 81%, 49%)
CMYKcmyk(0%, 80.8%, 17.6%, 51%)
CIE-LABlab(29.40, 49.69, -21.20)
CIE-LCHlch(29.40, 54.03, 336.90°)
OKLaboklab(41.24% 0.1477 -0.0575)
OKLCHoklch(41.24% 0.158 338.7)
XYZxyz(11.2325, 5.9936, 13.3947)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1867 #187D2E
analogous
#61187D #7D1867 #7D1835
triadic
#7D1867 #677D18 #18677D
tetradic
#7D1867 #7D6118 #187D2E #18357D
square
#7D1867 #7D6118 #187D2E #18357D
split-complementary
#7D1867 #357D18 #187D61
monochromatic
#1A0515 #4A0E3D #7D1867 #B02291 #D937B5

Accessibility & contrast

On white

9.55
#7D1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D1867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1867
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1867#FFFFFF#000000##FFFFFF
##7D18671.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#841D3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1867;
/* rgb */ color: rgb(125, 24, 103);
/* oklch */ color: oklch(41.2% 0.158 338.7);
Tailwind
colors: {
  custom: {
    50: '#a66292',
    500: '#7d1867',
    950: '#000000',
  },
}
SCSS
$custom: #7d1867;
$custom-light: #a66292;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1867",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 313.069,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41242,
    "c": 0.15848,
    "h": 338.7
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#7D1867
secondary
#3FB258
accent
#EB633D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1867

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

Preview Lab → · Contrast checker → · Palette generator →

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