#7F1850#7F1850

#7F1850 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.146 H 352.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7F1850
RGBrgb(127, 24, 80)
HSLhsl(327, 68%, 30%)
HSVhsv(327, 81%, 50%)
CMYKcmyk(0%, 81.1%, 37%, 50.2%)
CIE-LABlab(28.76, 47.18, -7.09)
CIE-LCHlch(28.76, 47.71, 351.46°)
OKLaboklab(40.52% 0.1449 -0.0182)
OKLCHoklch(40.52% 0.146 352.8)
XYZxyz(10.5277, 5.7458, 8.1425)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1850 #187F47
analogous
#7B187F #7F1850 #7F181C
triadic
#7F1850 #507F18 #18507F
tetradic
#7F1850 #7F7B18 #187F47 #181C7F
square
#7F1850 #7F7B18 #187F47 #181C7F
split-complementary
#7F1850 #1C7F18 #187F7B
monochromatic
#1A0510 #4C0E30 #7F1850 #B22270 #D93890

Accessibility & contrast

On white

9.77
#7F1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1850
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1850#FFFFFF#000000##FFFFFF
##7F18501.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3851
Deuteranopia (green-blind)
#494A4E
Tritanopia (blue-blind)
#890C32
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1850;
/* rgb */ color: rgb(127, 24, 80);
/* oklch */ color: oklch(40.5% 0.146 352.8);
Tailwind
colors: {
  custom: {
    50: '#a86181',
    500: '#7f1850',
    950: '#000000',
  },
}
SCSS
$custom: #7f1850;
$custom-light: #a86181;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1850",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 327.379,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4052,
    "c": 0.14604,
    "h": 352.8
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#7F1850
secondary
#3FB374
accent
#EB8C3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1850

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

Preview Lab → · Contrast checker → · Palette generator →

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