#421229#421229

#421229 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.0% C 0.079 H 354.0°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#421229
RGBrgb(66, 18, 41)
HSLhsl(331, 57%, 16%)
HSVhsv(331, 73%, 26%)
CMYKcmyk(0%, 72.7%, 37.9%, 74.1%)
CIE-LABlab(14.12, 25.74, -3.23)
CIE-LCHlch(14.12, 25.94, 352.86°)
OKLaboklab(27.01% 0.0786 -0.0082)
OKLCHoklch(27.01% 0.079 354)
XYZxyz(2.8635, 1.7513, 2.2846)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421229 #12422B
analogous
#421241 #421229 #421312
triadic
#421229 #294212 #122942
tetradic
#421229 #414212 #12422B #131242
square
#421229 #414212 #12422B #131242
split-complementary
#421229 #124213 #124142
monochromatic
#18070F #18070F #421229 #721F47 #A22C65

Accessibility & contrast

On white

15.55
#421229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#421229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421229
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421229#FFFFFF#000000##FFFFFF
##4212291.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E2A
Deuteranopia (green-blind)
#272728
Tritanopia (blue-blind)
#480F1B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #421229;
/* rgb */ color: rgb(66, 18, 41);
/* oklch */ color: oklch(27.0% 0.079 354.0);
Tailwind
colors: {
  custom: {
    50: '#795362',
    500: '#421229',
    950: '#000000',
  },
}
SCSS
$custom: #421229;
$custom-light: #795362;
$custom-dark: #000000;
JSON
{
  "hex": "#421229",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 331.25,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27005,
    "c": 0.07898,
    "h": 354
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#421229
secondary
#357B59
accent
#E09747
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #421229

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

Preview Lab → · Contrast checker → · Palette generator →

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