#7F153C#7F153C

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

Color values

HEX#7F153C
RGBrgb(127, 21, 60)
HSLhsl(338, 72%, 29%)
HSVhsv(338, 83%, 50%)
CMYKcmyk(0%, 83.5%, 52.8%, 50.2%)
CIE-LABlab(27.78, 46.05, 4.86)
CIE-LCHlch(27.78, 46.30, 6.03°)
OKLaboklab(39.58% 0.1409 0.0128)
OKLCHoklch(39.58% 0.141 5.2)
XYZxyz(9.8371, 5.3760, 4.7938)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F153C #157F58
analogous
#7F1571 #7F153C #7F2315
triadic
#7F153C #3C7F15 #153C7F
tetradic
#7F153C #717F15 #157F58 #23157F
square
#7F153C #717F15 #157F58 #23157F
split-complementary
#7F153C #157F23 #15717F
monochromatic
#1A040C #4A0C23 #7F153C #B41E55 #DD3171

Accessibility & contrast

On white

10.12
#7F153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F153C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F153C#FFFFFF#000000##FFFFFF
##7F153C1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343D
Deuteranopia (green-blind)
#4D4939
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f153c;
/* rgb */ color: rgb(127, 21, 60);
/* oklch */ color: oklch(39.6% 0.141 5.2);
Tailwind
colors: {
  custom: {
    50: '#aa5f71',
    500: '#7f153c',
    950: '#000000',
  },
}
SCSS
$custom: #7f153c;
$custom-light: #aa5f71;
$custom-dark: #000000;
JSON
{
  "hex": "#7f153c",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 337.925,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39582,
    "c": 0.14146,
    "h": 5.2
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#7F153C
secondary
#3CB488
accent
#EEAC39
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F153C

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

Preview Lab → · Contrast checker → · Palette generator →

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