#7F153D#7F153D

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

Color values

HEX#7F153D
RGBrgb(127, 21, 61)
HSLhsl(337, 72%, 29%)
HSVhsv(337, 83%, 50%)
CMYKcmyk(0%, 83.5%, 52%, 50.2%)
CIE-LABlab(27.81, 46.13, 4.23)
CIE-LCHlch(27.81, 46.33, 5.24°)
OKLaboklab(39.61% 0.1413 0.0112)
OKLCHoklch(39.61% 0.142 4.5)
XYZxyz(9.8638, 5.3867, 4.9343)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F153D #157F57
analogous
#7F1572 #7F153D #7F2215
triadic
#7F153D #3D7F15 #153D7F
tetradic
#7F153D #727F15 #157F57 #22157F
square
#7F153D #727F15 #157F57 #22157F
split-complementary
#7F153D #157F22 #15727F
monochromatic
#1A040D #4A0C24 #7F153D #B41E56 #DD3172

Accessibility & contrast

On white

10.11
#7F153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F153D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F153D#FFFFFF#000000##FFFFFF
##7F153D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f153d;
/* rgb */ color: rgb(127, 21, 61);
/* oklch */ color: oklch(39.6% 0.142 4.5);
Tailwind
colors: {
  custom: {
    50: '#aa5f72',
    500: '#7f153d',
    950: '#000000',
  },
}
SCSS
$custom: #7f153d;
$custom-light: #aa5f72;
$custom-dark: #000000;
JSON
{
  "hex": "#7f153d",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 337.358,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39613,
    "c": 0.14171,
    "h": 4.5
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#7F153D
secondary
#3CB487
accent
#EEAA39
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F153D

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

Preview Lab → · Contrast checker → · Palette generator →

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