#7F1857#7F1857

#7F1857 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.150 H 348.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7F1857
RGBrgb(127, 24, 87)
HSLhsl(323, 68%, 30%)
HSVhsv(323, 81%, 50%)
CMYKcmyk(0%, 81.1%, 31.5%, 50.2%)
CIE-LABlab(29.04, 48.03, -11.28)
CIE-LCHlch(29.04, 49.33, 346.78°)
OKLaboklab(40.82% 0.1467 -0.0296)
OKLCHoklch(40.82% 0.15 348.6)
XYZxyz(10.7999, 5.8547, 9.5763)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1857 #187F40
analogous
#74187F #7F1857 #7F1824
triadic
#7F1857 #577F18 #18577F
tetradic
#7F1857 #7F7418 #187F40 #18247F
square
#7F1857 #7F7418 #187F40 #18247F
split-complementary
#7F1857 #247F18 #187F74
monochromatic
#1A0512 #4C0E34 #7F1857 #B2227A #D9389B

Accessibility & contrast

On white

9.67
#7F1857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1857
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1857#FFFFFF#000000##FFFFFF
##7F18571.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293959
Deuteranopia (green-blind)
#484B55
Tritanopia (blue-blind)
#891236
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1857;
/* rgb */ color: rgb(127, 24, 87);
/* oklch */ color: oklch(40.8% 0.150 348.6);
Tailwind
colors: {
  custom: {
    50: '#a86186',
    500: '#7f1857',
    950: '#000000',
  },
}
SCSS
$custom: #7f1857;
$custom-light: #a86186;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1857",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 323.301,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40816,
    "c": 0.1497,
    "h": 348.6
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#7F1857
secondary
#3FB36C
accent
#EB803D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1857

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

Preview Lab → · Contrast checker → · Palette generator →

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