#7B223B#7B223B

#7B223B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.0% C 0.123 H 7.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7B223B
RGBrgb(123, 34, 59)
HSLhsl(343, 57%, 31%)
HSVhsv(343, 72%, 48%)
CMYKcmyk(0%, 72.4%, 52%, 51.8%)
CIE-LABlab(28.57, 40.18, 6.54)
CIE-LCHlch(28.57, 40.71, 9.24°)
OKLaboklab(40.01% 0.1223 0.0169)
OKLCHoklch(40.01% 0.123 7.9)
XYZxyz(9.5306, 5.6720, 4.7298)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B223B #227B62
analogous
#7B2267 #7B223B #7B3522
triadic
#7B223B #3B7B22 #223B7B
tetradic
#7B223B #677B22 #227B62 #35227B
square
#7B223B #677B22 #227B62 #35227B
split-complementary
#7B223B #227B35 #22677B
monochromatic
#1B070D #4B1524 #7B223B #AB2F52 #CD4A6F

Accessibility & contrast

On white

9.84
#7B223B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B223B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B223B#FFFFFF#000000##FFFFFF
##7B223B1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383C
Deuteranopia (green-blind)
#4E4A39
Tritanopia (blue-blind)
#86112C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b223b;
/* rgb */ color: rgb(123, 34, 59);
/* oklch */ color: oklch(40.0% 0.123 7.9);
Tailwind
colors: {
  custom: {
    50: '#a66470',
    500: '#7b223b',
    950: '#000000',
  },
}
SCSS
$custom: #7b223b;
$custom-light: #a66470;
$custom-dark: #000000;
JSON
{
  "hex": "#7b223b",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 59
  },
  "hsl": {
    "h": 343.146,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40009,
    "c": 0.12346,
    "h": 7.9
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#7B223B
secondary
#4BAE92
accent
#E0B548
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7B223B

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

Preview Lab → · Contrast checker → · Palette generator →

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