#7F153B#7F153B

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

Color values

HEX#7F153B
RGBrgb(127, 21, 59)
HSLhsl(338, 72%, 29%)
HSVhsv(338, 83%, 50%)
CMYKcmyk(0%, 83.5%, 53.5%, 50.2%)
CIE-LABlab(27.75, 45.96, 5.50)
CIE-LCHlch(27.75, 46.29, 6.82°)
OKLaboklab(39.55% 0.1405 0.0143)
OKLCHoklch(39.55% 0.141 5.8)
XYZxyz(9.8109, 5.3655, 4.6559)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F153B #157F59
analogous
#7F1570 #7F153B #7F2415
triadic
#7F153B #3B7F15 #153B7F
tetradic
#7F153B #707F15 #157F59 #24157F
square
#7F153B #707F15 #157F59 #24157F
split-complementary
#7F153B #157F24 #15707F
monochromatic
#1A040C #4A0C23 #7F153B #B41E53 #DD316F

Accessibility & contrast

On white

10.13
#7F153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F153B
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F153B#FFFFFF#000000##FFFFFF
##7F153B1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343C
Deuteranopia (green-blind)
#4D4938
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f153b;
/* rgb */ color: rgb(127, 21, 59);
/* oklch */ color: oklch(39.6% 0.141 5.8);
Tailwind
colors: {
  custom: {
    50: '#aa5f70',
    500: '#7f153b',
    950: '#000000',
  },
}
SCSS
$custom: #7f153b;
$custom-light: #aa5f70;
$custom-dark: #000000;
JSON
{
  "hex": "#7f153b",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 338.491,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39552,
    "c": 0.14122,
    "h": 5.8
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#7F153B
secondary
#3CB489
accent
#EEAE39
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F153B

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

Preview Lab → · Contrast checker → · Palette generator →

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