#C262B1#C262B1

#C262B1 is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.6% C 0.156 H 334.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#C262B1
RGBrgb(194, 98, 177)
HSLhsl(311, 44%, 57%)
HSVhsv(311, 49%, 76%)
CMYKcmyk(0%, 49.5%, 8.8%, 23.9%)
CIE-LABlab(55.46, 48.82, -24.96)
CIE-LCHlch(55.46, 54.83, 332.91°)
OKLaboklab(63.6% 0.1407 -0.0676)
OKLCHoklch(63.6% 0.156 334.3)
XYZxyz(34.5516, 23.3813, 44.2796)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262B1 #62C273
analogous
#A362C2 #C262B1 #C26281
triadic
#C262B1 #B1C262 #62B1C2
tetradic
#C262B1 #C2A362 #62C273 #6281C2
square
#C262B1 #C2A362 #62C273 #6281C2
split-complementary
#C262B1 #81C262 #62C2A3
monochromatic
#7A2F6D #A64194 #C262B1 #D38EC7 #E4BADD

Accessibility & contrast

On white

3.70
#C262B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#C262B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262B1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262B1#FFFFFF#000000##000000
##C262B11.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB4
Deuteranopia (green-blind)
#7C8AAE
Tritanopia (blue-blind)
#CA6781
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c262b1;
/* rgb */ color: rgb(194, 98, 177);
/* oklch */ color: oklch(63.6% 0.156 334.3);
Tailwind
colors: {
  custom: {
    50: '#d692c8',
    500: '#c262b1',
    950: '#000000',
  },
}
SCSS
$custom: #c262b1;
$custom-light: #d692c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c262b1",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 177
  },
  "hsl": {
    "h": 310.625,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63599,
    "c": 0.15611,
    "h": 334.3
  },
  "luminance": 0.23379
}

Semantic roles & 50–950 ramp

primary
#C262B1
secondary
#ACD3B3
accent
#D46B54
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #C262B1

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

Preview Lab → · Contrast checker → · Palette generator →

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