#7F1243#7F1243

#7F1243 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.146 H 0.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7F1243
RGBrgb(127, 18, 67)
HSLhsl(333, 75%, 28%)
HSVhsv(333, 86%, 50%)
CMYKcmyk(0%, 85.8%, 47.2%, 50.2%)
CIE-LABlab(27.71, 47.49, 0.04)
CIE-LCHlch(27.71, 47.49, 0.05°)
OKLaboklab(39.6% 0.1461 0.0006)
OKLCHoklch(39.6% 0.146 0.2)
XYZxyz(9.9827, 5.3513, 5.8163)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1243 #127F4E
analogous
#7F1279 #7F1243 #7F1812
triadic
#7F1243 #437F12 #12437F
tetradic
#7F1243 #797F12 #127F4E #18127F
square
#7F1243 #797F12 #127F4E #18127F
split-complementary
#7F1243 #127F18 #12797F
monochromatic
#1B040E #490A27 #7F1243 #B51A5F #E12B7C

Accessibility & contrast

On white

10.14
#7F1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1243
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1243#FFFFFF#000000##FFFFFF
##7F12431.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3444
Deuteranopia (green-blind)
#4B4941
Tritanopia (blue-blind)
#8A0029
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1243;
/* rgb */ color: rgb(127, 18, 67);
/* oklch */ color: oklch(39.6% 0.146 0.2);
Tailwind
colors: {
  custom: {
    50: '#a95f76',
    500: '#7f1243',
    950: '#000000',
  },
}
SCSS
$custom: #7f1243;
$custom-light: #a95f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1243",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 333.028,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39603,
    "c": 0.14609,
    "h": 0.2
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#7F1243
secondary
#38B57D
accent
#F29D36
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7F1243

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

Preview Lab → · Contrast checker → · Palette generator →

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