#6A1233#6A1233

#6A1233 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.0% C 0.123 H 4.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#6A1233
RGBrgb(106, 18, 51)
HSLhsl(338, 71%, 24%)
HSVhsv(338, 83%, 42%)
CMYKcmyk(0%, 83%, 51.9%, 58.4%)
CIE-LABlab(22.78, 39.98, 3.29)
CIE-LCHlch(22.78, 40.12, 4.71°)
OKLaboklab(35.03% 0.1225 0.0088)
OKLCHoklch(35.03% 0.123 4.1)
XYZxyz(6.7583, 3.7367, 3.4967)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1233 #126A49
analogous
#6A125F #6A1233 #6A1D12
triadic
#6A1233 #336A12 #12336A
tetradic
#6A1233 #5F6A12 #126A49 #1D126A
square
#6A1233 #5F6A12 #126A49 #1D126A
split-complementary
#6A1233 #126A1D #125F6A
monochromatic
#1A040D #36091A #6A1233 #9E1B4C #D32465

Accessibility & contrast

On white

12.02
#6A1233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#6A1233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1233
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1233#FFFFFF#000000##FFFFFF
##6A12331.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B34
Deuteranopia (green-blind)
#403D31
Tritanopia (blue-blind)
#740021
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #6a1233;
/* rgb */ color: rgb(106, 18, 51);
/* oklch */ color: oklch(35.0% 0.123 4.1);
Tailwind
colors: {
  custom: {
    50: '#9a5a6a',
    500: '#6a1233',
    950: '#000000',
  },
}
SCSS
$custom: #6a1233;
$custom-light: #9a5a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1233",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 337.5,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35032,
    "c": 0.12278,
    "h": 4.1
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#6A1233
secondary
#36A279
accent
#EEAA3A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0406
muted
#7E797A

Preview Lab

Preview with #6A1233

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

Preview Lab → · Contrast checker → · Palette generator →

#6A1233 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva