#7F153F#7F153F

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

Color values

HEX#7F153F
RGBrgb(127, 21, 63)
HSLhsl(336, 72%, 29%)
HSVhsv(336, 83%, 50%)
CMYKcmyk(0%, 83.5%, 50.4%, 50.2%)
CIE-LABlab(27.87, 46.31, 2.96)
CIE-LCHlch(27.87, 46.41, 3.66°)
OKLaboklab(39.68% 0.142 0.0081)
OKLCHoklch(39.68% 0.142 3.2)
XYZxyz(9.9186, 5.4086, 5.2233)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F153F #157F55
analogous
#7F1574 #7F153F #7F2015
triadic
#7F153F #3F7F15 #153F7F
tetradic
#7F153F #747F15 #157F55 #20157F
square
#7F153F #747F15 #157F55 #20157F
split-complementary
#7F153F #157F20 #15747F
monochromatic
#1A040D #4A0C25 #7F153F #B41E59 #DD3175

Accessibility & contrast

On white

10.09
#7F153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F153F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F153F#FFFFFF#000000##FFFFFF
##7F153F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303540
Deuteranopia (green-blind)
#4C493D
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f153f;
/* rgb */ color: rgb(127, 21, 63);
/* oklch */ color: oklch(39.7% 0.142 3.2);
Tailwind
colors: {
  custom: {
    50: '#a95f73',
    500: '#7f153f',
    950: '#000000',
  },
}
SCSS
$custom: #7f153f;
$custom-light: #a95f73;
$custom-dark: #000000;
JSON
{
  "hex": "#7f153f",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 336.226,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39676,
    "c": 0.14226,
    "h": 3.2
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#7F153F
secondary
#3CB484
accent
#EEA739
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F153F

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

Preview Lab → · Contrast checker → · Palette generator →

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