#6A1238#6A1238

#6A1238 is a dark, vivid pink. Relative luminance 0.038; OKLCH L 35.2% C 0.124 H 0.3°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#6A1238
RGBrgb(106, 18, 56)
HSLhsl(334, 71%, 24%)
HSVhsv(334, 83%, 42%)
CMYKcmyk(0%, 83%, 47.2%, 58.4%)
CIE-LABlab(22.94, 40.47, 0.06)
CIE-LCHlch(22.94, 40.47, 0.08°)
OKLaboklab(35.2% 0.1244 0.0006)
OKLCHoklch(35.2% 0.124 0.3)
XYZxyz(6.8745, 3.7832, 4.1088)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1238 #126A44
analogous
#6A1264 #6A1238 #6A1812
triadic
#6A1238 #386A12 #12386A
tetradic
#6A1238 #646A12 #126A44 #18126A
square
#6A1238 #646A12 #126A44 #18126A
split-complementary
#6A1238 #126A18 #12646A
monochromatic
#1A040E #36091C #6A1238 #9E1B54 #D3246F

Accessibility & contrast

On white

11.96
#6A1238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#6A1238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1238
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1238#FFFFFF#000000##FFFFFF
##6A12381.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272C39
Deuteranopia (green-blind)
#3F3D36
Tritanopia (blue-blind)
#740123
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #6a1238;
/* rgb */ color: rgb(106, 18, 56);
/* oklch */ color: oklch(35.2% 0.124 0.3);
Tailwind
colors: {
  custom: {
    50: '#995a6e',
    500: '#6a1238',
    950: '#000000',
  },
}
SCSS
$custom: #6a1238;
$custom-light: #995a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1238",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 334.091,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35201,
    "c": 0.12437,
    "h": 0.3
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#6A1238
secondary
#36A273
accent
#EEA03A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0F0407
muted
#7E797A

Preview Lab

Preview with #6A1238

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

Preview Lab → · Contrast checker → · Palette generator →

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