#340125#340125

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

Color values

HEX#340125
RGBrgb(52, 1, 37)
HSLhsl(318, 96%, 10%)
HSVhsv(318, 98%, 20%)
CMYKcmyk(0%, 98.1%, 28.8%, 79.6%)
CIE-LABlab(8.00, 28.86, -9.84)
CIE-LCHlch(8.00, 30.49, 341.18°)
OKLaboklab(21.91% 0.0875 -0.0264)
OKLCHoklch(21.91% 0.091 343.2)
XYZxyz(1.7610, 0.8855, 1.8281)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340125 #013410
analogous
#290134 #340125 #34010B
triadic
#340125 #253401 #012534
tetradic
#340125 #342901 #013410 #010B34
square
#340125 #342901 #013410 #010B34
split-complementary
#340125 #0B3401 #013429
monochromatic
#1E0115 #1E0115 #340125 #700250 #AC037A

Accessibility & contrast

On white

17.84
#340125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340125
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340125#FFFFFF#000000##FFFFFF
##3401251.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061226
Deuteranopia (green-blind)
#171B24
Tritanopia (blue-blind)
#380112
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340125;
/* rgb */ color: rgb(52, 1, 37);
/* oklch */ color: oklch(21.9% 0.091 343.2);
Tailwind
colors: {
  custom: {
    50: '#6e485f',
    500: '#340125',
    950: '#000000',
  },
}
SCSS
$custom: #340125;
$custom-light: #6e485f;
$custom-dark: #000000;
JSON
{
  "hex": "#340125",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 37
  },
  "hsl": {
    "h": 317.647,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21912,
    "c": 0.09136,
    "h": 343.2
  },
  "luminance": 0.00885
}

Semantic roles & 50–950 ramp

primary
#340125
secondary
#187934
accent
#FF6829
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340125

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

Preview Lab → · Contrast checker → · Palette generator →

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