#7F1545#7F1545

#7F1545 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.144 H 359.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#7F1545
RGBrgb(127, 21, 69)
HSLhsl(333, 72%, 29%)
HSVhsv(333, 83%, 50%)
CMYKcmyk(0%, 83.5%, 45.7%, 50.2%)
CIE-LABlab(28.06, 46.88, -0.79)
CIE-LCHlch(28.06, 46.89, 359.03°)
OKLaboklab(39.88% 0.1442 -0.0015)
OKLCHoklch(39.88% 0.144 359.4)
XYZxyz(10.0955, 5.4794, 6.1551)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1545 #157F4F
analogous
#7F157A #7F1545 #7F1A15
triadic
#7F1545 #457F15 #15457F
tetradic
#7F1545 #7A7F15 #157F4F #1A157F
square
#7F1545 #7A7F15 #157F4F #1A157F
split-complementary
#7F1545 #157F1A #157A7F
monochromatic
#1A040E #4A0C28 #7F1545 #B41E62 #DD317F

Accessibility & contrast

On white

10.02
#7F1545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F1545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1545
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1545#FFFFFF#000000##FFFFFF
##7F15451.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3546
Deuteranopia (green-blind)
#4B4943
Tritanopia (blue-blind)
#8A002B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1545;
/* rgb */ color: rgb(127, 21, 69);
/* oklch */ color: oklch(39.9% 0.144 359.4);
Tailwind
colors: {
  custom: {
    50: '#a96078',
    500: '#7f1545',
    950: '#000000',
  },
}
SCSS
$custom: #7f1545;
$custom-light: #a96078;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1545",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 332.83,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39878,
    "c": 0.14422,
    "h": 359.4
  },
  "luminance": 0.05478
}

Semantic roles & 50–950 ramp

primary
#7F1545
secondary
#3CB47E
accent
#EE9C39
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1545

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

Preview Lab → · Contrast checker → · Palette generator →

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