#7F153E#7F153E

#7F153E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.142 H 3.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7F153E
RGBrgb(127, 21, 62)
HSLhsl(337, 72%, 29%)
HSVhsv(337, 83%, 50%)
CMYKcmyk(0%, 83.5%, 51.2%, 50.2%)
CIE-LABlab(27.84, 46.22, 3.60)
CIE-LCHlch(27.84, 46.36, 4.45°)
OKLaboklab(39.64% 0.1417 0.0096)
OKLCHoklch(39.64% 0.142 3.9)
XYZxyz(9.8909, 5.3975, 5.0775)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F153E #157F56
analogous
#7F1573 #7F153E #7F2115
triadic
#7F153E #3E7F15 #153E7F
tetradic
#7F153E #737F15 #157F56 #21157F
square
#7F153E #737F15 #157F56 #21157F
split-complementary
#7F153E #157F21 #15737F
monochromatic
#1A040D #4A0C24 #7F153E #B41E58 #DD3174

Accessibility & contrast

On white

10.10
#7F153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F153E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F153E#FFFFFF#000000##FFFFFF
##7F153E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31353F
Deuteranopia (green-blind)
#4D493C
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f153e;
/* rgb */ color: rgb(127, 21, 62);
/* oklch */ color: oklch(39.6% 0.142 3.9);
Tailwind
colors: {
  custom: {
    50: '#aa5f73',
    500: '#7f153e',
    950: '#000000',
  },
}
SCSS
$custom: #7f153e;
$custom-light: #aa5f73;
$custom-dark: #000000;
JSON
{
  "hex": "#7f153e",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 336.792,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39644,
    "c": 0.14199,
    "h": 3.9
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#7F153E
secondary
#3CB486
accent
#EEA839
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F153E

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

Preview Lab → · Contrast checker → · Palette generator →

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