#7F1852#7F1852

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

Color values

HEX#7F1852
RGBrgb(127, 24, 82)
HSLhsl(326, 68%, 30%)
HSVhsv(326, 81%, 50%)
CMYKcmyk(0%, 81.1%, 35.4%, 50.2%)
CIE-LABlab(28.84, 47.42, -8.29)
CIE-LCHlch(28.84, 48.14, 350.08°)
OKLaboklab(40.6% 0.1455 -0.0215)
OKLCHoklch(40.6% 0.147 351.6)
XYZxyz(10.6027, 5.7758, 8.5375)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1852 #187F45
analogous
#79187F #7F1852 #7F181E
triadic
#7F1852 #527F18 #18527F
tetradic
#7F1852 #7F7918 #187F45 #181E7F
square
#7F1852 #7F7918 #187F45 #181E7F
split-complementary
#7F1852 #1E7F18 #187F79
monochromatic
#1A0511 #4C0E31 #7F1852 #B22273 #D93893

Accessibility & contrast

On white

9.75
#7F1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1852
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1852#FFFFFF#000000##FFFFFF
##7F18521.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#890E33
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1852;
/* rgb */ color: rgb(127, 24, 82);
/* oklch */ color: oklch(40.6% 0.147 351.6);
Tailwind
colors: {
  custom: {
    50: '#a86182',
    500: '#7f1852',
    950: '#000000',
  },
}
SCSS
$custom: #7f1852;
$custom-light: #a86182;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1852",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 326.214,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40602,
    "c": 0.14703,
    "h": 351.6
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#7F1852
secondary
#3FB372
accent
#EB893D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1852

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

Preview Lab → · Contrast checker → · Palette generator →

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