#7F1854#7F1854

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

Color values

HEX#7F1854
RGBrgb(127, 24, 84)
HSLhsl(325, 68%, 30%)
HSVhsv(325, 81%, 50%)
CMYKcmyk(0%, 81.1%, 33.9%, 50.2%)
CIE-LABlab(28.92, 47.66, -9.49)
CIE-LCHlch(28.92, 48.59, 348.73°)
OKLaboklab(40.69% 0.146 -0.0247)
OKLCHoklch(40.69% 0.148 350.4)
XYZxyz(10.6799, 5.8067, 8.9442)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1854 #187F43
analogous
#77187F #7F1854 #7F1820
triadic
#7F1854 #547F18 #18547F
tetradic
#7F1854 #7F7718 #187F43 #18207F
square
#7F1854 #7F7718 #187F43 #18207F
split-complementary
#7F1854 #207F18 #187F77
monochromatic
#1A0511 #4C0E32 #7F1854 #B22276 #D93896

Accessibility & contrast

On white

9.72
#7F1854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1854
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1854#FFFFFF#000000##FFFFFF
##7F18541.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3956
Deuteranopia (green-blind)
#484B52
Tritanopia (blue-blind)
#890F34
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1854;
/* rgb */ color: rgb(127, 24, 84);
/* oklch */ color: oklch(40.7% 0.148 350.4);
Tailwind
colors: {
  custom: {
    50: '#a86184',
    500: '#7f1854',
    950: '#000000',
  },
}
SCSS
$custom: #7f1854;
$custom-light: #a86184;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1854",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 325.049,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.14807,
    "h": 350.4
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#7F1854
secondary
#3FB370
accent
#EB863D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1854

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

Preview Lab → · Contrast checker → · Palette generator →

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