#340223#340223

#340223 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.9% C 0.088 H 345.7°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#340223
RGBrgb(52, 2, 35)
HSLhsl(320, 93%, 11%)
HSVhsv(320, 96%, 20%)
CMYKcmyk(0%, 96.2%, 32.7%, 79.6%)
CIE-LABlab(8.08, 28.00, -8.17)
CIE-LCHlch(8.08, 29.17, 343.72°)
OKLaboklab(21.94% 0.0853 -0.0217)
OKLCHoklch(21.94% 0.088 345.7)
XYZxyz(1.7413, 0.8950, 1.6708)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340223 #023413
analogous
#2C0234 #340223 #34020A
triadic
#340223 #233402 #022334
tetradic
#340223 #342C02 #023413 #020A34
square
#340223 #342C02 #023413 #020A34
split-complementary
#340223 #0A3402 #02342C
monochromatic
#1D0114 #1D0114 #340223 #6F044B #AA0772

Accessibility & contrast

On white

17.81
#340223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340223
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340223#FFFFFF#000000##FFFFFF
##3402231.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081224
Deuteranopia (green-blind)
#181B22
Tritanopia (blue-blind)
#380111
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340223;
/* rgb */ color: rgb(52, 2, 35);
/* oklch */ color: oklch(21.9% 0.088 345.7);
Tailwind
colors: {
  custom: {
    50: '#6e485d',
    500: '#340223',
    950: '#000000',
  },
}
SCSS
$custom: #340223;
$custom-light: #6e485d;
$custom-dark: #000000;
JSON
{
  "hex": "#340223",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 320.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21937,
    "c": 0.08806,
    "h": 345.7
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

primary
#340223
secondary
#1A783A
accent
#FF7229
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340223

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

Preview Lab → · Contrast checker → · Palette generator →

#340223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva