#7B213E#7B213E

#7B213E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.125 H 5.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7B213E
RGBrgb(123, 33, 62)
HSLhsl(341, 58%, 31%)
HSVhsv(341, 73%, 48%)
CMYKcmyk(0%, 73.2%, 49.6%, 51.8%)
CIE-LABlab(28.51, 40.88, 4.44)
CIE-LCHlch(28.51, 41.12, 6.20°)
OKLaboklab(39.99% 0.1248 0.0118)
OKLCHoklch(39.99% 0.125 5.4)
XYZxyz(9.5825, 5.6477, 5.1420)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B213E #217B5E
analogous
#7B216B #7B213E #7B3121
triadic
#7B213E #3E7B21 #213E7B
tetradic
#7B213E #6B7B21 #217B5E #31217B
square
#7B213E #6B7B21 #217B5E #31217B
split-complementary
#7B213E #217B31 #216B7B
monochromatic
#1A070D #4B1426 #7B213E #AB2E56 #CE4873

Accessibility & contrast

On white

9.86
#7B213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B213E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B213E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B213E#FFFFFF#000000##FFFFFF
##7B213E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36383F
Deuteranopia (green-blind)
#4D4A3C
Tritanopia (blue-blind)
#86112D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b213e;
/* rgb */ color: rgb(123, 33, 62);
/* oklch */ color: oklch(40.0% 0.125 5.4);
Tailwind
colors: {
  custom: {
    50: '#a66473',
    500: '#7b213e',
    950: '#000000',
  },
}
SCSS
$custom: #7b213e;
$custom-light: #a66473;
$custom-dark: #000000;
JSON
{
  "hex": "#7b213e",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 340.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39989,
    "c": 0.12537,
    "h": 5.4
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#7B213E
secondary
#4AAE8E
accent
#E1AF47
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7B213E

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

Preview Lab → · Contrast checker → · Palette generator →

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