#7B223F#7B223F

#7B223F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.1% C 0.124 H 4.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7B223F
RGBrgb(123, 34, 63)
HSLhsl(340, 57%, 31%)
HSVhsv(340, 72%, 48%)
CMYKcmyk(0%, 72.4%, 48.8%, 51.8%)
CIE-LABlab(28.68, 40.57, 4.03)
CIE-LCHlch(28.68, 40.77, 5.67°)
OKLaboklab(40.13% 0.1239 0.0107)
OKLCHoklch(40.13% 0.124 4.9)
XYZxyz(9.6384, 5.7151, 5.2972)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B223F #227B5E
analogous
#7B226B #7B223F #7B3122
triadic
#7B223F #3F7B22 #223F7B
tetradic
#7B223F #6B7B22 #227B5E #31227B
square
#7B223F #6B7B22 #227B5E #31227B
split-complementary
#7B223F #227B31 #226B7B
monochromatic
#1B070E #4B1526 #7B223F #AB2F58 #CD4A75

Accessibility & contrast

On white

9.80
#7B223F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B223F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B223F
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B223F#FFFFFF#000000##FFFFFF
##7B223F1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363840
Deuteranopia (green-blind)
#4D4A3D
Tritanopia (blue-blind)
#86132E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b223f;
/* rgb */ color: rgb(123, 34, 63);
/* oklch */ color: oklch(40.1% 0.124 4.9);
Tailwind
colors: {
  custom: {
    50: '#a66473',
    500: '#7b223f',
    950: '#000000',
  },
}
SCSS
$custom: #7b223f;
$custom-light: #a66473;
$custom-dark: #000000;
JSON
{
  "hex": "#7b223f",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 63
  },
  "hsl": {
    "h": 340.449,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.12437,
    "h": 4.9
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#7B223F
secondary
#4BAE8E
accent
#E0AE48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7B223F

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

Preview Lab → · Contrast checker → · Palette generator →

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