#AF235F#AF235F

#AF235F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.180 H 0.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AF235F
RGBrgb(175, 35, 95)
HSLhsl(334, 67%, 41%)
HSVhsv(334, 80%, 69%)
CMYKcmyk(0%, 80%, 45.7%, 31.4%)
CIE-LABlab(39.82, 58.49, 0.61)
CIE-LCHlch(39.82, 58.49, 0.60°)
OKLaboklab(50.48% 0.1797 0.0022)
OKLCHoklch(50.48% 0.18 0.7)
XYZxyz(20.3474, 11.1450, 11.9040)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF235F #23AF73
analogous
#AF23A5 #AF235F #AF2D23
triadic
#AF235F #5FAF23 #235FAF
tetradic
#AF235F #A5AF23 #23AF73 #2D23AF
square
#AF235F #A5AF23 #23AF73 #2D23AF
split-complementary
#AF235F #23AF2D #23A5AF
monochromatic
#490F28 #7C1943 #AF235F #D7387C #E16B9E

Accessibility & contrast

On white

6.50
#AF235F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF235F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF235F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF235F#FFFFFF#000000##FFFFFF
##AF235F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#6B675C
Tritanopia (blue-blind)
#BE003E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af235f;
/* rgb */ color: rgb(175, 35, 95);
/* oklch */ color: oklch(50.5% 0.180 0.7);
Tailwind
colors: {
  custom: {
    50: '#cd6d8c',
    500: '#af235f',
    950: '#000000',
  },
}
SCSS
$custom: #af235f;
$custom-light: #cd6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#af235f",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 334.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5048,
    "c": 0.17973,
    "h": 0.7
  },
  "luminance": 0.11142
}

Semantic roles & 50–950 ramp

primary
#AF235F
secondary
#66C79E
accent
#EAA03E
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #AF235F

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

Preview Lab → · Contrast checker → · Palette generator →

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