#621228#621228

#621228 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.113 H 10.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#621228
RGBrgb(98, 18, 40)
HSLhsl(344, 69%, 23%)
HSVhsv(344, 82%, 38%)
CMYKcmyk(0%, 81.6%, 59.2%, 61.6%)
CIE-LABlab(20.76, 36.52, 7.90)
CIE-LCHlch(20.76, 37.37, 12.21°)
OKLaboklab(33.14% 0.1108 0.0199)
OKLCHoklch(33.14% 0.113 10.2)
XYZxyz(5.6369, 3.1833, 2.3247)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621228 #12624C
analogous
#621250 #621228 #622412
triadic
#621228 #286212 #122862
tetradic
#621228 #506212 #12624C #241262
square
#621228 #506212 #12624C #241262
split-complementary
#621228 #126224 #125062
monochromatic
#1A050B #2E0913 #621228 #961B3D #C92552

Accessibility & contrast

On white

12.83
#621228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#621228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621228
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621228#FFFFFF#000000##FFFFFF
##6212281.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272828
Deuteranopia (green-blind)
#3C3826
Tritanopia (blue-blind)
#6C001B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #621228;
/* rgb */ color: rgb(98, 18, 40);
/* oklch */ color: oklch(33.1% 0.113 10.2);
Tailwind
colors: {
  custom: {
    50: '#945961',
    500: '#621228',
    950: '#000000',
  },
}
SCSS
$custom: #621228;
$custom-light: #945961;
$custom-dark: #000000;
JSON
{
  "hex": "#621228",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 343.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33136,
    "c": 0.11255,
    "h": 10.2
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#621228
secondary
#369A7E
accent
#ECBB3C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #621228

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

Preview Lab → · Contrast checker → · Palette generator →

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