#7F153A#7F153A

#7F153A is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.141 H 6.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7F153A
RGBrgb(127, 21, 58)
HSLhsl(339, 72%, 29%)
HSVhsv(339, 83%, 50%)
CMYKcmyk(0%, 83.5%, 54.3%, 50.2%)
CIE-LABlab(27.72, 45.88, 6.13)
CIE-LCHlch(27.72, 46.28, 7.61°)
OKLaboklab(39.52% 0.1401 0.0159)
OKLCHoklch(39.52% 0.141 6.5)
XYZxyz(9.7852, 5.3553, 4.5206)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F153A #157F5A
analogous
#7F156F #7F153A #7F2515
triadic
#7F153A #3A7F15 #153A7F
tetradic
#7F153A #6F7F15 #157F5A #25157F
square
#7F153A #6F7F15 #157F5A #25157F
split-complementary
#7F153A #157F25 #156F7F
monochromatic
#1A040C #4A0C22 #7F153A #B41E52 #DD316D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F153A#FFFFFF#000000##FFFFFF
##7F153A1.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)
#32343B
Deuteranopia (green-blind)
#4D4937
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f153a;
/* rgb */ color: rgb(127, 21, 58);
/* oklch */ color: oklch(39.5% 0.141 6.5);
Tailwind
colors: {
  custom: {
    50: '#aa5f6f',
    500: '#7f153a',
    950: '#000000',
  },
}
SCSS
$custom: #7f153a;
$custom-light: #aa5f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f153a",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 339.057,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39522,
    "c": 0.141,
    "h": 6.5
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#7F153A
secondary
#3CB48A
accent
#EEAF39
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F153A

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

Preview Lab → · Contrast checker → · Palette generator →

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