#7F203C#7F203C

#7F203C is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.5% C 0.130 H 7.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7F203C
RGBrgb(127, 32, 60)
HSLhsl(342, 60%, 31%)
HSVhsv(342, 75%, 50%)
CMYKcmyk(0%, 74.8%, 52.8%, 50.2%)
CIE-LABlab(29.09, 42.36, 6.71)
CIE-LCHlch(29.09, 42.89, 9.01°)
OKLaboklab(40.55% 0.129 0.0174)
OKLCHoklch(40.55% 0.13 7.7)
XYZxyz(10.0854, 5.8727, 4.8765)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F203C #207F63
analogous
#7F206B #7F203C #7F3320
triadic
#7F203C #3C7F20 #203C7F
tetradic
#7F203C #6B7F20 #207F63 #33207F
square
#7F203C #6B7F20 #207F63 #33207F
split-complementary
#7F203C #207F33 #206B7F
monochromatic
#1D070E #4E1425 #7F203C #B02C53 #D14871

Accessibility & contrast

On white

9.66
#7F203C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F203C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F203C
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F203C#FFFFFF#000000##FFFFFF
##7F203C1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383D
Deuteranopia (green-blind)
#504B3A
Tritanopia (blue-blind)
#8B0B2C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f203c;
/* rgb */ color: rgb(127, 32, 60);
/* oklch */ color: oklch(40.5% 0.130 7.7);
Tailwind
colors: {
  custom: {
    50: '#a96471',
    500: '#7f203c',
    950: '#000000',
  },
}
SCSS
$custom: #7f203c;
$custom-light: #a96471;
$custom-dark: #000000;
JSON
{
  "hex": "#7f203c",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 60
  },
  "hsl": {
    "h": 342.316,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40547,
    "c": 0.13018,
    "h": 7.7
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#7F203C
secondary
#49B293
accent
#E3B445
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F203C

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

Preview Lab → · Contrast checker → · Palette generator →

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