#340225#340225

#340225 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.1% C 0.089 H 343.4°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#340225
RGBrgb(52, 2, 37)
HSLhsl(318, 93%, 11%)
HSVhsv(318, 96%, 20%)
CMYKcmyk(0%, 96.2%, 28.8%, 79.6%)
CIE-LABlab(8.19, 28.29, -9.53)
CIE-LCHlch(8.19, 29.86, 341.38°)
OKLaboklab(22.05% 0.0857 -0.0255)
OKLCHoklch(22.05% 0.089 343.4)
XYZxyz(1.7719, 0.9073, 1.8317)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340225 #023411
analogous
#2A0234 #340225 #34020C
triadic
#340225 #253402 #022534
tetradic
#340225 #342A02 #023411 #020C34
square
#340225 #342A02 #023411 #020C34
split-complementary
#340225 #0C3402 #02342A
monochromatic
#1D0115 #1D0115 #340225 #6F044F #AA0779

Accessibility & contrast

On white

17.78
#340225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340225
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340225#FFFFFF#000000##FFFFFF
##3402251.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071226
Deuteranopia (green-blind)
#181B24
Tritanopia (blue-blind)
#380212
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340225;
/* rgb */ color: rgb(52, 2, 37);
/* oklch */ color: oklch(22.1% 0.089 343.4);
Tailwind
colors: {
  custom: {
    50: '#6e495f',
    500: '#340225',
    950: '#000000',
  },
}
SCSS
$custom: #340225;
$custom-light: #6e495f;
$custom-dark: #000000;
JSON
{
  "hex": "#340225",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 318,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22051,
    "c": 0.08944,
    "h": 343.4
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#340225
secondary
#1A7836
accent
#FF6929
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340225

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

Preview Lab → · Contrast checker → · Palette generator →

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