#7F143B#7F143B

#7F143B is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.142 H 5.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7F143B
RGBrgb(127, 20, 59)
HSLhsl(338, 73%, 29%)
HSVhsv(338, 84%, 50%)
CMYKcmyk(0%, 84.3%, 53.5%, 50.2%)
CIE-LABlab(27.65, 46.24, 5.36)
CIE-LCHlch(27.65, 46.55, 6.61°)
OKLaboklab(39.48% 0.1414 0.014)
OKLCHoklch(39.48% 0.142 5.6)
XYZxyz(9.7929, 5.3295, 4.6499)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F143B #147F58
analogous
#7F1471 #7F143B #7F2314
triadic
#7F143B #3B7F14 #143B7F
tetradic
#7F143B #717F14 #147F58 #23147F
square
#7F143B #717F14 #147F58 #23147F
split-complementary
#7F143B #147F23 #14717F
monochromatic
#1A040C #4A0C22 #7F143B #B41C54 #DE2F6F

Accessibility & contrast

On white

10.17
#7F143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F143B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F143B#FFFFFF#000000##FFFFFF
##7F143B1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343C
Deuteranopia (green-blind)
#4D4938
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f143b;
/* rgb */ color: rgb(127, 20, 59);
/* oklch */ color: oklch(39.5% 0.142 5.6);
Tailwind
colors: {
  custom: {
    50: '#aa5f70',
    500: '#7f143b',
    950: '#000000',
  },
}
SCSS
$custom: #7f143b;
$custom-light: #aa5f70;
$custom-dark: #000000;
JSON
{
  "hex": "#7f143b",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 338.131,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3948,
    "c": 0.14209,
    "h": 5.6
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#7F143B
secondary
#3BB488
accent
#EFAD38
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F143B

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

Preview Lab → · Contrast checker → · Palette generator →

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