#7F1853#7F1853

#7F1853 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.148 H 351.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7F1853
RGBrgb(127, 24, 83)
HSLhsl(326, 68%, 30%)
HSVhsv(326, 81%, 50%)
CMYKcmyk(0%, 81.1%, 34.6%, 50.2%)
CIE-LABlab(28.88, 47.54, -8.89)
CIE-LCHlch(28.88, 48.36, 349.40°)
OKLaboklab(40.64% 0.1457 -0.0231)
OKLCHoklch(40.64% 0.148 351)
XYZxyz(10.6410, 5.7911, 8.7394)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1853 #187F44
analogous
#78187F #7F1853 #7F1820
triadic
#7F1853 #537F18 #18537F
tetradic
#7F1853 #7F7818 #187F44 #18207F
square
#7F1853 #7F7818 #187F44 #18207F
split-complementary
#7F1853 #207F18 #187F78
monochromatic
#1A0511 #4C0E31 #7F1853 #B22275 #D93894

Accessibility & contrast

On white

9.73
#7F1853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1853
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1853#FFFFFF#000000##FFFFFF
##7F18531.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3854
Deuteranopia (green-blind)
#494B51
Tritanopia (blue-blind)
#890F33
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1853;
/* rgb */ color: rgb(127, 24, 83);
/* oklch */ color: oklch(40.6% 0.148 351.0);
Tailwind
colors: {
  custom: {
    50: '#a86183',
    500: '#7f1853',
    950: '#000000',
  },
}
SCSS
$custom: #7f1853;
$custom-light: #a86183;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1853",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 325.631,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.14755,
    "h": 351
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#7F1853
secondary
#3FB371
accent
#EB873D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1853

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

Preview Lab → · Contrast checker → · Palette generator →

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